[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: creating arrays from variables
From: |
shay |
Subject: |
Re: creating arrays from variables |
Date: |
Sun, 1 May 2011 18:27:53 -0700 (PDT) |
Thanks James,
As i have a predefined number of loops i believe the second method you have
shown will work, however it is only returning a column of zeros as the
contents of the array. I believe this is because this is because of the
line:
yy = zeros(max_loops, 1);
which is defining it as a zeros array and therefore outputting a column of
zeros with the number of rows defined by the number of loops. Is this the
problem?
If so, is there a way to show the results as they are produced within the
loop?
--
View this message in context:
http://octave.1599824.n4.nabble.com/creating-arrays-from-variables-tp3489003p3489090.html
Sent from the Octave - General mailing list archive at Nabble.com.