How to plot second order ode

1 Ansicht (letzte 30 Tage)
John
John am 11 Mai 2016
Bearbeitet: John am 11 Mai 2016
syms m c dy k y t y(t) dy(t) y0 dy0
sol=dsolve(m*diff(dy) +c*dy + k*y == 3*sin(2*t),diff(y) == dy,y(0)==y0,dy(0)==dy0);
ezplot(sol.y)

Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by