% ELLIPSOID Draws an ellipsoid.
% P = ELIPSOID_SHELL(Q,q,N) generates (N+1) vector in a cell so that
% points over axis P{n} has computed.
%
% P = ELLIPSOID_SHELL(Q,q) use N = 20.
%
% ELLIPSOID_SHELL(...) with no output arguments graph the ellipsoid
% as a SURFACE and return nothing.
%
% The ellipsoidal data is generated using the equation:
%
% (x-q)'*inv(Q)*(x-q) = 1
%
% where Q corresponding to the positive definite symmetric
% matrix. If dim(q)>3 there are no plot.
%
% Example:
%
% P = ellipsoid_shell(diag([3;5;4]));
%
% q = [3;2;1];
% Q = [8.5 2.9 1.5; 2.9 3.8 1; 1.5 1 .5];
% ellipsoid_shell(Q,q,30);
%
% See also sphere, cylinder.
Cita come
Luiz Carlos Stevanatto (2025). Ellipsoid (https://it.mathworks.com/matlabcentral/fileexchange/46238-ellipsoid), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- Mathematics and Optimization > Mapping Toolbox > Map Display >
- Radar > Mapping Toolbox > Map Display >
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
