dsolve the second order differential equation in Matlab 7
이전 댓글 표시
I am a beginner in MATLAB. I've been trying hard to solve the 2nd order ode using dsolve but I get error 'The 'implicit' option is not available when giving Initial Conditions.'
g=9.8;
l=1;
y=dsolve('D2y+(g/l)*sin(y)=0','y(0)=pi/2','Dy(0)=0','t')
I don't know how to solve it. Is it because of my MATLAB version or some other reason? Is there any other way to do it?Everywhere I search in Internet,there are examples which don't work on my MATLAB,may be because they are for newer versions. I didn't get for MATLAB7. Please anyone who could help me with it.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Common Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!