Meaning of Function "size"

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

답변 (1개)

the cyclist
the cyclist 2012년 7월 19일
편집: the cyclist 2012년 7월 19일

1 개 추천

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.

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

태그

질문:

2012년 7월 19일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by