What does cellfun(@(m)1:size(m,1)) means
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
What does cellfun(@(m)1:size(m,1)) means
0 commentaires
Réponses (1)
Steven Lord
le 18 Nov 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.
0 commentaires
Voir également
Catégories
En savoir plus sur Function Creation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!