N
N
Nuta_nu2021-01-08 21:57:16
MATLAB
Nuta_nu, 2021-01-08 21:57:16

How to create a dataset from a motion path in 3D?

Hello,
I need to create a dataset of coordinates from the trajectory of the movement of the manipulator.
That is, a tractor (any) in 3D space is divided into x, y, z coordinate points and written to an array.
I found only a way to write out data from plot3 in this way

ch=get(gca,'children');
    X_data=get(ch,'Xdata');
    Y_data=get(ch,'Ydata');
    Z_data=get(ch,'Zdata');

But I would like to avoid using path drawing (now I use it purely for general visualization). Can someone tell me a more convenient and beautiful way?
Thank you in advance for your help

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question