Feeds
提问
I keep getting this error at line 15: "Unable to perform assignment because the left and right sides have a different number of elements."
a=0; b=4.5; N=3; h=(b-a)/N; t(1)=0; y(1)=5; f=@(t,y) (3)*exp(-x)-0.4*(y); for i=1:N k1=f(t(i),y(i)) k2=f(t(i)+0...
4 years 前 | 1 个回答 | 0
