How can I plot a sphere that is segmented into az-el angles?
    조회 수: 6 (최근 30일)
  
       이전 댓글 표시
    
I want to plot a sphere with r=1 that is divided into element of 10 degree in azimuth and elevation angle.
댓글 수: 0
답변 (1개)
  Adam Filion
    
 2013년 10월 16일
        
      편집: Adam Filion
    
 2013년 10월 16일
  
      댓글 수: 2
  Adam Filion
    
 2013년 10월 16일
				You can use sphere to split it into n number of equal parts. So if you want every 10 degrees, thats 360/10=36. For example:
[x,y,z] = sphere(36);
[az,el,r] = cart2sph(x,y,z);
az = rad2deg(az);
az(2,:)
참고 항목
카테고리
				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!

