Borrar filtros
Borrar filtros

What does cellfun(@(m)1:size(m,1)) means

7 visualizaciones (últimos 30 días)
Arslan F
Arslan F el 18 de Nov. de 2016
Respondida: Steven Lord el 18 de Nov. de 2016
What does cellfun(@(m)1:size(m,1)) means

Respuestas (1)

Steven Lord
Steven Lord el 18 de Nov. de 2016
Well, as written that's not a valid call to the cellfun function. You're missing the second input that contains the cell array to whose cells you want to apply the anonymous function specified as the first input. See the examples on the documentation page to which I linked for more information.

Categorías

Más información sobre Function Creation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by