ELLIPSATE

バージョン 1.0.0.0 (1.59 KB) 作成者: R P
circumscribe data into an ellipse
ダウンロード: 648
更新 2013/4/11

ライセンスの表示

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

引用

R P (2024). ELLIPSATE (https://www.mathworks.com/matlabcentral/fileexchange/41245-ellipsate), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R13
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersExpression Analysis についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0