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 ExchangeCreating and Concatenating Matrices についてさらに検索

タグ

質問済み:

2012 年 7 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by