Which equation should I use to plot the surface of a 3D egg shape?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Martina Clairand
am 8 Okt. 2020
Kommentiert: Star Strider
am 12 Okt. 2020
I would like to know the parametric equation (in cartesian coordinates z=f(x, y)) to plot the surface of a 3D egg shape? Or do you know any matlab function that plots the surface of an egg (like ellipsoid, sphere or spherocylinder for the corresponding geometry)?
0 Kommentare
Akzeptierte Antwort
Star Strider
am 8 Okt. 2020
2 Kommentare
Star Strider
am 12 Okt. 2020
As always, my pleasure!
The ‘Z’ assignment transforms all of the original ‘Z’. That line uses ‘automatic implicit expansion’ (introduced in R2016b) to add the transformed first column (since they are all the same) to the rest of ‘Z’.
You can plot essentially any shape that you can describe mathematically with this approach. I have created and plotted airplane wings using it.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!