is there a function that calculates the no. of rows or cols

 採用された回答

sixwwwwww
sixwwwwww 2013 年 12 月 2 日

0 投票

Dear mary, use
[row, col] = size(a)

その他の回答 (1 件)

Sean de Wolski
Sean de Wolski 2013 年 12 月 2 日

0 投票

[r,c] = size(a);
For more info:
doc size

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

質問済み:

2013 年 12 月 2 日

コメント済み:

2013 年 12 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by