Vectorized Evaluation of multiple function handles at a point
Mostrar comentarios más antiguos
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
Respuestas (0)
Categorías
Más información sobre Structures en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!