Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
Utsav
Utsav el 15 de Feb. de 2016
Comentada: Utsav el 16 de Feb. de 2016
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.

Respuesta aceptada

Sean de Wolski
Sean de Wolski el 15 de Feb. de 2016
[nmx, idx] = max(cellfun(@numel,your_cell))

Más respuestas (0)

Categorías

Más información sobre Argument Definitions en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by