Path: Common/Graphics
% Generates an ellipsoid using the equation 2 2 2 x y z --- + --- + --- = 1 2 2 2 a b c Generates three n-by-n matrices so that surf(x,y,z) produces a unit sphere. -------------------------------------------------------------------------- Form: [x, y, z] = Ellipsd( a, b, c, n ) -------------------------------------------------------------------------- ------ Inputs ------ a x-axis coefficient b y-axis coefficient c z-axis coefficient n Number of facets ------- Outputs ------- x (n,n) x matrix y (n,n) y matrix z (n,n) z matrix --------------------------------------------------------------------------
Common: Graphics/Axis3D Common: Graphics/NewFig Common: Graphics/TitleS Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Math: Linear/DupVect
Back to the Common Module page