Length of vector
If A is a vector, Scilab equivalent for length(A) is size(A,”*”).
If A is a matrix, Scilab equivalent for length(A) is max(size(A)).
If A contains character strings, String matrix has to be converted to a “character” string matrix using mstr2sci (Using asciimat to convert will give the same result).
Scilab length is different from Matlab length.