(adsbygoogle = window.adsbygoogle || []).push({}); Matlab ODE45 Help??

function dy = prob_52 (t,y)

dy = cos(y) - (sin (t)*y);

[t,y] = ode45 (@prob_52,[0,1],0)

plot (t,y)

xlabel ('Time')

ylabel ('Function Value')

I was told my code is incorrect. Does anyone have suggestions on where I'm going wrong?

Thanks

**Physics Forums - The Fusion of Science and Community**

# Matlab ODE45 Help?

Know someone interested in this topic? Share a link to this question via email,
Google+,
Twitter, or
Facebook

- Similar discussions for: Matlab ODE45 Help?

Loading...

**Physics Forums - The Fusion of Science and Community**