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

Respuestas (0)

Categorías

Preguntada:

el 9 de Dic. de 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by