Rocket 2DOF trajectory model, loop seems to be not working.

2 次查看(过去 30 天)
Hello, i tried to create a model to simulate a rocket. Altitude must be nearly at 3000 meters yet my values are either really low and constant or they are not in loop.
This is much to ask, i could not find the error. I hope mathematical equations are true but i am in learning process for Matlab.
I will provide the code here alongside the .csv file from Excel i used to get thrust values. I need to understand where i am doing a wrong thing.
It may be faulty logic or equation order in loop, incorrect loop method or something about incompatibility of arrays and matrixes as i understand
I am trying to achieve movement in x and z axes ultimately, i have initial velocity and flight path angle and i get thrust values from table.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品


版本

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by