how to solve a second order - vector deferential equation using ode45
이전 댓글 표시
Hi, I need to solve the following ode using ode45 (in order to find a sattelite's orbit):
r''=-(mu/norm(r)^3)*r
where mu is a known constant and r is a 3*1 column vector I have initial conditions for both r and r', and I want to find r and r' for a certain time interval. The thing is I can't figure out the syntax to accomplish it. Your help would be greatly appreciated
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!