Meaning of Function "size"
1 view (last 30 days)
Show older comments
I want to know better the use of the function size. And if i have a matrix A of the type 4 x 2 what can mean if i write size(A,2)? Thanks a lot Bye Vito
0 Comments
Answers (1)
the cyclist
on 19 Jul 2012
Edited: the cyclist
on 19 Jul 2012
If A is an M x N matrix, then
size(A,2)
gives the result N, because that is the size of the 2nd dimension of the matrix.
0 Comments
See Also
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!