everyone!
I've got a problem when using function handle in Matlab.
suppose I get a function handle of a transform matrix, say
Tf = @(alpha)reshape([cos(alpha),-sin(alpha),sin(alpha),cos(alpha)],[2,2]);
and I have a alpha vector
alpha_list = [alpha1; alpha2; ...];
I want to get the result like
[Tf1; Tf2; ...];
I have tried the ways like
Tf(alpha_list) feval(Tf,alpha_list) bsxfun(Tf,alpha_list)
They all don't work
Is there an easy or magic way to do this?
Many thanks!