Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
GreenEye
GreenEye le 9 Nov 2020
Commenté : GreenEye le 9 Nov 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 commentaires
Walter Roberson
Walter Roberson le 9 Nov 2020
isosurface(YourMatrix, 0)
GreenEye
GreenEye le 9 Nov 2020
Thanks, that works!

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by