How to combine multiple functions/lines/arcs in only one?
3 ビュー (過去 30 日間)
古いコメントを表示
ErikJon Pérez Mardaras
2020 年 10 月 30 日
編集済み: ErikJon Pérez Mardaras
2020 年 11 月 2 日
I have drawn the following arc (drawn in pink)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/397224/image.png)
Using and putting one next to another the following arcs (each one with different xp,yp,radius and centre values of course)
teta = linspace(rangini,rangfin);
xco = centre(1)+radius*cos(teta);
yco = centre(2)+radius*sin(teta);
plot(xco,yco,'m');
There is any form of uniting those arcs in only one function so I could work with it more easily in further code/programm?
4 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Surface and Mesh Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!