How to plot second order ode
조회 수: 1 (최근 30일)
이전 댓글 표시
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)
댓글 수: 0
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!