I need help to how to solve this
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/730379/image.png)
2 commentaires
Réponses (1)
Chunru
le 6 Sep 2021
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 commentaire
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!