Arrayfun on an array of objects and multiple parameter function
古いコメントを表示
Hello,
After reading this blog : http://blogs.mathworks.com/loren/2012/03/26/considering-performance-in-object-oriented-matlab-code/.
I decided to replace some for loops of my code with the function arrayfun.
It should make the syntax more compact and speed-up the code.
I encountered 2 problems :
• Is it possible to call complex functions which have more than one parameter with the arrayfun function, the input parameters of my function are objects.
• I think it is not possible to use arrayfun on an array of objects. Is it possible to make arrayfun work even though it is an array of objects?
Thank your for your help
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!