Draw from cartesian xy-data a spiral

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')
subplot(2,1,1)
plot(M(:,1)/1000,M(:,2));
hold on
subplot(2,1,2)
plot(M(:,1)/1000,M(:,3));

 採用された回答

Voss
Voss 2022 年 4 月 22 日

1 投票

M = readmatrix('spiral');
plot(M(:,2),M(:,3)); % x, y

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

タグ

質問済み:

2022 年 4 月 22 日

回答済み:

2022 年 4 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by