Hi,
You can use the waypointTrajectory Generator to get a 6DOF trajectory in MATLAB. There are other methods also to generate Trajectory using MATLAB, you can find them here.
Hope this helps !!
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!