help-octave
[Top][All Lists]
Advanced

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

Re: How to extract sequenced data from an array?


From: veryhappy
Subject: Re: How to extract sequenced data from an array?
Date: Fri, 31 Dec 2010 13:31:32 -0800 (PST)

I think that's because according to the manual (
http://www.gnu.org/software/octave/doc/interpreter/The-_003ccode_003efor_003c_002fcode_003e-Statement.html#The-_003ccode_003efor_003c_002fcode_003e-Statement
) "The assignment expression in the for statement works a bit differently
than Octave's normal assignment statement. Instead of assigning the complete
result of the expression, it assigns each column of the expression to var in
turn." so in this case tmp is a column instead of a scalar.
-- 
View this message in context: 
http://octave.1599824.n4.nabble.com/How-to-extract-sequenced-data-from-an-array-tp3160358p3169810.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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