Borrar filtros
Borrar filtros

How to plot a sphere from an n*n*n matrix?

1 visualización (últimos 30 días)
GreenEye
GreenEye el 9 de Nov. de 2020
Comentada: GreenEye el 9 de Nov. de 2020
I have a 64*64*64 matrix. The sphere is a "void" where the numbers inside of it are 0, and outside are some values that are irrelevant. How can I make a 3D plot of the sphere? I have attached the file.
  2 comentarios
Walter Roberson
Walter Roberson el 9 de Nov. de 2020
isosurface(YourMatrix, 0)
GreenEye
GreenEye el 9 de Nov. de 2020
Thanks, that works!

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by