plotting sphere and rectangle mesh
22 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Respuesta aceptada
Azzi Abdelmalek
el 23 de Jun. de 2015
Editada: Azzi Abdelmalek
el 23 de Jun. de 2015
sphere(20)
axis square
You can get the coordinates x,y and z
[x,y,z]=sphere(20)
You can plot a sphere
surf(x,y,z)
4 comentarios
Azzi Abdelmalek
el 23 de Jun. de 2015
Editada: Azzi Abdelmalek
el 23 de Jun. de 2015
ii=-1:0.1:1
jj=-1:0.1:1
[ii1,jj1]=meshgrid(ii,jj)
surf(ii,jj,zeros(size(ii1)))
hold on
sphere(20)
Más respuestas (0)
Ver también
Categorías
Más información sobre Surface and Mesh Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!