[a1,b,c] = unique(cellfun(@char,a,'un',0))
I read the cellfun page but didn't find anything about this.

 採用された回答

Walter Roberson
Walter Roberson 2019 年 3 月 21 日

0 投票

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 件)

カテゴリ

ヘルプ センター および File Exchange で Matrices and Arrays についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by