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

11 次查看(过去 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 *

更多回答(1 个)

Oraib Ghaith AlKheetanRojas
Check this paper, it has the answer for you to generate gyroids and other TPMS structures

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by