How can I plot a sphere that is segmented into az-el angles?
Mostrar comentarios más antiguos
I want to plot a sphere with r=1 that is divided into element of 10 degree in azimuth and elevation angle.
Respuestas (1)
Adam Filion
el 16 de Oct. de 2013
Editada: Adam Filion
el 16 de Oct. de 2013
0 votos
2 comentarios
Laila Kazemi
el 16 de Oct. de 2013
Adam Filion
el 16 de Oct. de 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,:)
Categorías
Más información sobre Surface and Mesh Plots en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!