Pregunta


I would like to create a handle function by for loop in matlab, but it does not work. I will be thankful if some body help me.
a=[1 2 3]; b=[4 5 6] n=length(a); for i=1:n s(i)=@(x) a(i)*x-b(i)*x; end

más de 2 años hace | 2 respuestas | 0

2

respuestas