質問


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

約3年 前 | 2 件の回答 | 0

2

回答