How i can i plot the New_P in 3D
i'm using robotic toolbox peter corke
i should use trplot() function but it's not working
P = transpose([2,3,4,0]);
New_P = trotx(45) * P

 採用された回答

Ameer Hamza
Ameer Hamza 2020 年 4 月 5 日

0 投票

You can draw this point using plot3()
P = transpose([2,3,4,0]);
New_P = trotx(45) * P;
plot3(New_P(1), New_P(2), New_P(3), '+');

2 件のコメント

Xinmeng Wang
Xinmeng Wang 2020 年 12 月 8 日
How to make the '+' symbol larger?
Ameer Hamza
Ameer Hamza 2020 年 12 月 8 日
You can specify the marker size like this
plot3(New_P(1), New_P(2), New_P(3), '+', 'MarkerSize', 10);

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by