How can I draw a circle in matlab using parametric ecuations or the circle ecuation?
조회 수: 7 (최근 30일)
이전 댓글 표시
I'm new to matlab and I wanted to know
댓글 수: 0
답변 (3개)
Salaheddin Hosseinzadeh
2014년 3월 12일
That's one simple way you can do it
x= sin(0:.01:2*pi);
y= cos(0:.01:2*pi);
plot(x,y);
axis equal
also try below, but you probably gonna get some warnings! lol
f=@(x,y) x^2+y^2-25
ezplot(f)
axis equal
Good Luck!
댓글 수: 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!