Hi,
I think copying and pasting the actual input and/or script you use might clarify the issue here. I can't figure out what could be wrong but for example if you typed
length(test);
into the script, nothing would be output since you're suppressing the output to the screen and not assigning it to anything. Furthermore,
size(test)
should have returned [8 x] where x is the number of columns in test1 (or test2) and not just 8.
I'm just a bit confused.
On Tue, May 12, 2009 at 9:06 AM, Carlo Rossi
<address@hidden> wrote:
Hello, simple question: I did a matrix in this way: test = [ test1(1:4, :); test2(1:4, :); ];
and after I like to know the number of the rows:
length(test);
but it returns '2'.
in fact, I use size(test) the number correct '8' is returned.
Could anybody tell me why length doens't work? thanks, |
_______________________________________________
Help-octave mailing list
address@hidden
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave