Having trouble plotting a surface
Afficher commentaires plus anciens
More specifically a two-holed donut where f(x,y,z) = some c. There is no way to parametrize the variables and, being new to MATLAB, I'm unsure of any other way to plot a surface.
1 commentaire
John D'Errico
le 9 Mai 2018
What have you tried? What relationship would you use to describe that surface?
Réponses (1)
John D'Errico
le 9 Mai 2018
I won't write your code for you. But I must accept that you may not know the existence of tools like fimplicit.
syms x y z
fimplicit3(x^2 + y^2 + z^2 == 1)
the solution is to start reading the help. Do this. Look through what you find.
help specgraph
Catégories
En savoir plus sur Surface and Mesh Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!