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!