How can I plot a sphere that is segmented into az-el angles?
10 ビュー (過去 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!