Info
この質問は閉じられています。 編集または回答するには再度開いてください。
How to solve this system of non linear equations ?
1 回表示 (過去 30 日間)
古いコメントを表示
Hello everyone !
I'm working on a study concerning "trajectory équations", but i have a problem to solve these équations with Matlab. The system is :
d(Vx)/dt = - C * sqrt(Vx^2 + Vy^2 + Vz^2) * Vx
d(Vy)/dt = - C * sqrt(Vx^2 + Vy^2 + Vz^2) * Vy
d(Vz)/dt = - g - C * sqrt(Vx^2 + Vy^2 + Vz^2) * Vz
I have used the functions ode45 and ode23s, but i dont find the good results, so i dont know if my problem comes from my équations or the code...
Is someone know how to solve this system with Matlab ?
Thank you in advance !
Marin
2 件のコメント
John D'Errico
2018 年 10 月 22 日
編集済み: John D'Errico
2018 年 10 月 22 日
So show your code, instead of asking someone to completely write new code for you. Tell people what values the constants C and g take on. What initial values apply. Over what range of t are you looking to solve the problem.
Tell people why you think the results are not good.
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!