This preview shows page 1. Sign up to view the full content.
Unformatted text preview: b_str = num2str(b); eqn = strcat('Dy=-', a_str, '*y'); const = strcat('y(0)=', b_str); result = dsolve(eqn, const); ezplot(result, [0, 10]); title(strcat('Plot of ', eqn, ' with y(t=0)=', b_str)); xlabel('t'); ylabel('y');...
View Full Document
This homework help was uploaded on 03/30/2008 for the course CSE 131 taught by Professor Sticklen during the Spring '08 term at Michigan State University.
- Spring '08