help-octave
[Top][All Lists]
Advanced

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

using default for unitialized variable


From: Daniel Heiserer
Subject: using default for unitialized variable
Date: Fri, 14 Jul 2000 17:23:05 +0200

Hi,
I have to do a loop in which I have to continously 
add a row:

IN=zeros(0,30);
for jj=1:10000
IN=[IN;R']
end

Unfortunately I have to initialize 
an emtpy array (see above) otherwise
octave does not allow to use
the IN on the right side.

Is this a bug or a feature?

Thanks daniel



-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.che.wisc.edu/octave/octave.html
How to fund new projects:  http://www.che.wisc.edu/octave/funding.html
Subscription information:  http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------



reply via email to

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