help-octave
[Top][All Lists]
Advanced

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

length on a matrix


From: Carlo Rossi
Subject: length on a matrix
Date: Tue, 12 May 2009 13:06:12 +0000 (GMT)

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,


reply via email to

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