질문


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

2년 초과 전 | 답변 수: 2 | 0

2

답변