What does cellfun(@(m)1:size(m,1)) means
조회 수: 7 (최근 30일)
이전 댓글 표시
What does cellfun(@(m)1:size(m,1)) means
댓글 수: 0
답변 (1개)
Steven Lord
2016년 11월 18일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Function Creation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!