Draw from cartesian xy-data a spiral
2 ビュー (過去 30 日間)
古いコメントを表示
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/974460/image.jpeg)
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));
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!