octave-maintainers
[Top][All Lists]
Advanced

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

a{:} = x


From: Jaroslav Hajek
Subject: a{:} = x
Date: Fri, 9 Jan 2009 16:06:15 +0100

Hi,

I just noticed that the following code works in Octave:
a = {1,2,3}
a{:} = 1
and ends up with a = {1,1,1}. Matlab gives an error? Extension or bug?
What's more weird,
a{:} = a{:} works as well and likewise gives a = {1,1,1}.


-- 
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz


reply via email to

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