MATLAB Answers

What does 'un' mean here ?

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


Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 21 Mar 2019
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.


Sign in to comment.

More Answers (0)


Community Treasure Hunt

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

Start Hunting!

Translated by