How can I plot a sphere that is segmented into az-el angles?
14 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I want to plot a sphere with r=1 that is divided into element of 10 degree in azimuth and elevation angle.
0 Kommentare
Antworten (1)
Adam Filion
am 16 Okt. 2013
Bearbeitet: Adam Filion
am 16 Okt. 2013
2 Kommentare
Adam Filion
am 16 Okt. 2013
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,:)
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!