Vectorized Evaluation of multiple function handles at a point
古いコメントを表示
Hi,
I have a structure of function handles and I am trying to evaluate all the functions at a given point. This step is time consuming with the following line of code
structfun(@(z) (z(x)),f);
where f is the structure of function handles (f.a, f.b . . . )
I also tried to convert the struct to cell array and use feval but the resulting time taken was the same.
Please advise
Thanks & Regard Robin Philip
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Data Type Conversion についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!