Plot Superquadratic Surfaces

Versione 1.0.0.0 (502 KB) da DGM
This is a pair of functions for plotting general superellipsoids and supertoroids
518 download
Aggiornato 9 giu 2018

Visualizza la licenza

Much like SPHERE(), ELLIPSOID(), or SUPERQUAD(), these functions calculate and return the matrices required to plot a general superellipsoid or supertoroid using MESH() or SURF().
.
Unlike SUPERQUAD(), SUPERELLIPSOID() calculates the general form
with fully independent axis orders. i.e.:
.
((X-Cx) / Rx)^Px + ((Y-Cy) / Ry)^Py + ((Z-Cz) / Rz)^Pz = 1
.
For convenience, both functions accept parameters as vectors or as scalars with implicit expansion.
As with the built-in functions, the number of points can be set.
The default value for N is 50.
.
If no outputs are specified, a new surf plot will be created.
Display axes can be specified if the first argument is an axes handle.
.
A demo file is included (demo file uses subplot_tight from the FEX)

Cita come

DGM (2026). Plot Superquadratic Surfaces (https://it.mathworks.com/matlabcentral/fileexchange/58413-plot-superquadratic-surfaces), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2009b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Surface and Mesh Plots in Help Center e MATLAB Answers
Riconoscimenti

Ispirato da: Controllable tight subplot

Versione Pubblicato Note della release
1.0.0.0

Made dependency note

updated description layout
updated description
added FEX dependency and link to the archive