![222Untitled.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/238159/222Untitled.png)
Relative Displacement and Velocity
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
![Screenshot (34).png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/238150/image.png)
![Screenshot (28).png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/238151/image.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
0 comentarios
Respuestas (1)
darova
el 13 de Sept. de 2019
Here is said that x3 and x4 - velocities
![222Untitled.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/238159/222Untitled.png)
So i'd just do:
v3 = x(:,3);
v4 = x(:,4);
plot(t,v3./v4)
0 comentarios
Ver también
Categorías
Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!