%% Surface Plot of Ellipsoid
% Generate data for an ellipsoid with a center at (0,0,0) and semi-axis lengths (5.9,3.25,3.25). Use surf to plot the ellipsoid.

[x, y, z] = ellipsoid(0,0,0,5.9,3.25,3.25,30);
figure
surf(x, y, z)
axis equal

% Copyright 2015 The MathWorks, Inc.