Plotting body coordinate system in Matlab

6 次查看(过去 30 天)
Hello! I am working on a multibody system. Every rigid body has its own body coordinate system and I've been looking for a way to plot this coordinate systems. It should also move when the body is moving. Is there a function in Matlab? Couldn't find anything and would be thankful for any advice!! Best wishes Verena :)

回答(1 个)

George Abrahams
George Abrahams 2023-12-14
Hi Verena, I'm a few years late, but hopefully this will help somebody in the future.
To plot each rigid body of your system, you could use my plotframe function on File Exchange. When each coordinate system moves, you could update its position with the UpdateFrame name-value argument, so that it animates.

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by