Draw from cartesian xy-data a spiral

2 views (last 30 days)
Mark S
Mark S on 22 Apr 2022
Answered: Voss on 22 Apr 2022
Hello, i have cartesian data in x and y direction of a spiral path movement of a robot over time.
So I want now plot this spiral in matlab. But then I receive a wave.
How can I plot my data to get the spiral. The first column is the time, second x-data, third y-data. Unit of time is millisecond and movement is in millimetre.
Attached is the data, my matlab script:
M = readmatrix('spiral')
hold on

Accepted Answer

Voss on 22 Apr 2022
M = readmatrix('spiral');
plot(M(:,2),M(:,3)); % x, y

More Answers (0)


Community Treasure Hunt

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

Start Hunting!