필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
GreenEye
GreenEye 2020년 11월 9일
댓글: GreenEye 2020년 11월 9일
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
Walter Roberson
Walter Roberson 2020년 11월 9일
isosurface(YourMatrix, 0)
GreenEye
GreenEye 2020년 11월 9일
Thanks, that works!

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by