From help-octave-request at bevo dot che dot wisc dot edu Fri Jul 14 10:25:10 2000 Subject: using default for unitialized variable From: Daniel Heiserer To: "help-octave at bevo dot che dot wisc dot edu" 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 -----------------------------------------------------------------------