What does 'un' mean here ?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
IBM watson
am 21 Mär. 2019
Beantwortet: Walter Roberson
am 21 Mär. 2019
[a1,b,c] = unique(cellfun(@char,a,'un',0))
I read the cellfun page but didn't find anything about this.
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 21 Mär. 2019
'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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Structures finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!