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

14 visualizzazioni (ultimi 30 giorni)
Ryan Grech il 24 Ott 2017
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
##### 0 CommentiMostra -2 commenti meno recentiNascondi -2 commenti meno recenti

Accedi per commentare.

### Risposta accettata

Teja Muppirala il 25 Ott 2017
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 CommentiMostra NessunoNascondi Nessuno
Ryan Grech il 27 Ott 2017
Can you tell me how I can extract a 3D model of the final result please? Thank you
Julian Gauder il 3 Gen 2018
Did you manage to extract a 3d model? I would be interestet in a solution aswell.

Accedi per commentare.

### Più risposte (1)

Check this paper, it has the answer for you to generate gyroids and other TPMS structures
##### 0 CommentiMostra -2 commenti meno recentiNascondi -2 commenti meno recenti

Accedi per commentare.

### Categorie

Scopri di più su Line Plots in Help Center e File Exchange

### Community Treasure Hunt

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

Start Hunting!

Translated by