| Contents | Index |
isrow(V)
isrow(V) returns logical 1 (true) if size(V) returns [1 n] with a nonnegative integer value n, and logical 0 (false) otherwise.
Determine if a vector is a row. This example is a column so isrow returns 0:
V = rand(5,1);
isrow(V)
ans =
0Transpose the vector to make it a row. isrow returns 1:
V1 = V';
isrow(V1)
ans =
1iscolumn | ismatrix | isscalar | isvector
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |