What does 'un' mean here ?
조회 수: 14 (최근 30일)
이전 댓글 표시
[a1,b,c] = unique(cellfun(@char,a,'un',0))
I read the cellfun page but didn't find anything about this.
댓글 수: 0
채택된 답변
Walter Roberson
2019년 3월 21일
'un' is short for 'uniformoutput' https://www.mathworks.com/help/matlab/ref/cellfun.html#d117e138796
It means to wrap the result of each function call into a cell. That way the function call does not need to return a scalar.
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!