Feeds
提问
Unable to perform assignment because the size of the left side is 2-by-1 and the size of the right side is 2-by-2.
Error. I need help. I don't understand. I am running this code: function [tvals, wvals] = RK4SYS(rhsf,init_t, init_y, stop_t...
2 years 前 | 1 个回答 | 0
1
个回答提问
Getting an error using theta
running this code: function [tvals, wvals] = RK4SYS(rhsf,init_t, init_y, stop_t, Nsteps) h=(stop_t-init_t)/Nsteps; tvals(1)=i...
2 years 前 | 1 个回答 | 0
1
个回答提问
it says it cant plot because my vectors aren't the same size but they are
yvec=[6.67 17.33 42.67 37.33 30.10 29.31 28.74]; xvec=[0 6 10 13 17 20 28]; xvar=0:.001:28; yvar=P_N(xvec,yvec,xvar); plot(x...
3 years 前 | 1 个回答 | 0