How to plot a circle of some radius on a polar plot ?
    조회 수: 37 (최근 30일)
  
       이전 댓글 표시
    
eg. i want a small circle with origin as center of some radius...ON the POLAR plot
댓글 수: 0
채택된 답변
추가 답변 (1개)
  Gabriel Malagon Carvajal
 2017년 9월 9일
        When is not center in the origen?
댓글 수: 1
  Walter Roberson
      
      
 2017년 9월 9일
				%need centres for demo purposes
xc = randn() * 5; yc = randn() * 5;
%the work
th = linspace(0,2*pi,50);
r = 10;
[x,y] = pol2cart(th,r);
[th1, r1] = cart2pol( x+xc, y+yc );
polar(th1, r1);
참고 항목
카테고리
				Help Center 및 File Exchange에서 Polar Plots에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



