ellipsoid with surf command?

1 visualización (últimos 30 días)
Kuatra Patil
Kuatra Patil el 20 de Abr. de 2019
Comentada: Walter Roberson el 21 de Abr. de 2019
obviously there are some complex numbers because of root in this code, but how can we plot ellipsoid using functions in the library?
[x,y] = meshgrid(1:0.5:10,1:20);
z = sqrt((3-x.^2-y.^2)/4);
surf(x,y,z)

Respuestas (0)

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!

Translated by