Relative Displacement and Velocity

5 ビュー (過去 30 日間)
Griffin Polglaze
Griffin Polglaze 2019 年 9 月 13 日
回答済み: darova 2019 年 9 月 13 日
Screenshot (34).png
Screenshot (28).png
I have derived my equations of motion and have managed to plot both of the individual velocities, but I would also like to have a separate graph that shows the relative velocity. Is there a way that I can do this using plot, or have something in my code that would divide one velocity by the other velcoity

回答 (1 件)

darova
darova 2019 年 9 月 13 日
Here is said that x3 and x4 - velocities
222Untitled.png
So i'd just do:
v3 = x(:,3);
v4 = x(:,4);
plot(t,v3./v4)

カテゴリ

Help Center および File ExchangeNumerical Integration and Differential Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by