ELLIPSATE

Version 1.0.0.0 (1,59 ko) par R P
circumscribe data into an ellipse
645 téléchargements
Mise à jour 11 avr. 2013

Afficher la licence

Syntax: [ ellipseX , ellipseY ] = ellipsate( dataX , dataY , stdev )

Example:
data=mvnrnd([0.5 1.5], [0.025 0.03 ; 0.03 0.16], 100);
dataX=data(:,1);
dataY=data(:,2);
stdev = 2; %# 2 standard deviations, 95% of population
[ ellipseX , ellipseY ] = ellipsate( dataX , dataY , stdev );
plot(dataX, dataY, '.')
axis square
hold on
plot(ellipseX , ellipseY, 'r')

Function based on the code of Amro, described in
http://stackoverflow.com/questions/3417028/ellipse-around-the-data-in-matlab

Citation pour cette source

R P (2024). ELLIPSATE (https://www.mathworks.com/matlabcentral/fileexchange/41245-ellipsate), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R13
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Expression Analysis dans Help Center et MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.0.0.0