I need help to how to solve this
1 回表示 (過去 30 日間)
古いコメントを表示
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/730379/image.png)
2 件のコメント
回答 (1 件)
Chunru
2021 年 9 月 6 日
r_shape = [-1 0; 0 -1; 1 0; 0 1];
t_shape = [-0.5 -0.866; 1 0; -0.5 0.866];
plot(r_shape([1:end 1], 1), r_shape([1:end 1], 2), 'r-');
hold on
plot(t_shape([1:end 1], 1), t_shape([1:end 1], 2), 'b--');
axis equal
grid on
axis([-1 1 -1 1])
1 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!