How to combine multiple functions/lines/arcs in only one?
조회 수: 6 (최근 30일)
이전 댓글 표시
ErikJon Pérez Mardaras
2020년 10월 30일
편집: ErikJon Pérez Mardaras
2020년 11월 2일
I have drawn the following arc (drawn in pink)
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!