File Exchange

image thumbnail

NDellipse

version 1.4.0.0 (3.86 KB) by Sebastien PARIS
Returns coordinates of 2d ellipsoids

5 Downloads

Updated 28 Jan 2020

View License

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 (2020). NDellipse (https://www.mathworks.com/matlabcentral/fileexchange/17536-ndellipse), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Updates

1.4.0.0

Fixed for modern Matlab & OS64

1.3.0.0

-Fixed a bug recently introduded in the last update

1.2.0.0

-Minor update for Linux systems

1.1.0.0

Fixed empty parameters bug

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: EM_MVGM