How can I plot the graph of a gyroid which is composed of 3 variables in the form of F(x,y,z)=t

조회 수: 13 (최근 30일)
I need to plot the equation to create a gyroid but I cannot find a way to plot it. The equation is 0=sin(x)*cos(y)+sin(y)*cos(z)+sin(z)*cos(x). Any help would be greatly appreciated. Thanks

채택된 답변

Teja Muppirala
Teja Muppirala 2017년 10월 25일
fimplicit3(@(x,y,z) sin(x).*cos(y)+sin(y).*cos(z)+sin(z).*cos(x))
Note that for element-wise multiplication I made sure to use .* instead of *
  댓글 수: 2
Ryan Grech
Ryan Grech 2017년 10월 27일
Can you tell me how I can extract a 3D model of the final result please? Thank you
Julian Gauder
Julian Gauder 2018년 1월 3일
Did you manage to extract a 3d model? I would be interestet in a solution aswell.

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

추가 답변 (1개)

Oraib Ghaith AlKheetanRojas
Oraib Ghaith AlKheetanRojas 2020년 10월 23일
Check this paper, it has the answer for you to generate gyroids and other TPMS structures

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by