NDellipse returns 2d coordinates of several ellipsoids defined by NDslices.
Usage [x , y] = ndellipse(M , S ,[H] , [R] , [N]);
Inputs
------
M : Mean vector (d x 1 x [n1] , ... , [nl])
S : Covariance (d x d x [n1] , ... , [nl])
H : Transfert Matrix (2 x d) (default H = eye(2 , d))
R : Such that y'Sy < R (default R = 2.44774683 = sqrt(chi2inv(0.95 , 2)))
N : Number of points to draw ellipsoids (default N = 50)
Outputs
-------
x : x-coordinate (1 x N x [n1] , ... , [nl])
y : y-coordinate (1 x N x [n1] , ... , [nl])
Cite As
Sebastien PARIS (2024). NDellipse (https://www.mathworks.com/matlabcentral/fileexchange/17536-ndellipse), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Mapping Toolbox > Map Display >
- Radar > Mapping Toolbox > Map Display >
Tags
Acknowledgements
Inspired: EM_MVGM
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.