What does 'un' mean here ?
3 ビュー (過去 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 件)
参考
カテゴリ
Help Center および File Exchange で Structures についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!