octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with mixed numeric/char operations


From: Andreas Weber
Subject: Re: Help with mixed numeric/char operations
Date: Mon, 30 Jun 2014 22:39:40 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.5.0

Am 30.06.2014 22:22, schrieb Rik:
> Could someone test what Matlab does with
> 
> 'A' + 1:3

R2014a:
>> 'A' + 1:3

ans =

   Empty matrix: 1-by-0

>> 'A' + (1:3)

ans =

    66    67    68

(in both cases the same as octave)
-- Andy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]