フィルターのクリア

To find Maximum number of entries in a 1*36 cell

1 回表示 (過去 30 日間)
Utsav
Utsav 2016 年 2 月 15 日
コメント済み: Utsav 2016 年 2 月 16 日
m=1*36 cell : each 36 column of 'm' contains n*1 double matrix say : n1*1 n2*1.....n25*1 .......n36*1
I have to find maximum of n1 to n36
What should I do?
max(m{:}) returns too many input arguments.

採用された回答

Sean de Wolski
Sean de Wolski 2016 年 2 月 15 日
[nmx, idx] = max(cellfun(@numel,your_cell))
  1 件のコメント
Utsav
Utsav 2016 年 2 月 16 日
Perfect. it solved my problem like a charm.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeArgument Definitions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by