
Relative Displacement and Velocity
조회 수: 5 (최근 30일)
이전 댓글 표시


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
댓글 수: 0
답변 (1개)
darova
2019년 9월 13일
Here is said that x3 and x4 - velocities

So i'd just do:
v3 = x(:,3);
v4 = x(:,4);
plot(t,v3./v4)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Numerical Integration and Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!