| New Reply |
Matlab ode45 help |
Share Thread | Thread Tools |
| Sep22-11, 08:47 PM | #1 |
|
|
Matlab ode45 help
function f=myfun1(t,y)
dy1_dt=-y(2)+exp(-t); dy2_dt=2*y(1)-3*y(2); f=[dy1_dt;dy2_dt]; [tout,yout]=ode45('myfun1',[0,100],[0,0]); close all plot(yout) Error using myfun1 (line 2) Not enough input arguments. Thanks for any help/input |
| New Reply |
| Tags |
| matlab, ode45 |
| Thread Tools | |
Similar Threads for: Matlab ode45 help
|
||||
| Thread | Forum | Replies | ||
| MATLAB help-ode45 | Differential Equations | 0 | ||
| Matlab: ode45 help | Engineering, Comp Sci, & Technology Homework | 1 | ||
| Matlab ODE45 Help?? | Differential Equations | 4 | ||
| ode45 help in MATLAB | Math & Science Software | 0 | ||
| MATLAB's ode45 | Math & Science Software | 0 | ||