How to fit an ellipse to my data using MATLAB

조회 수: 10 (최근 30일)
Kurni Eswar
Kurni Eswar 2019년 3월 27일
I have some recorded fixational eye movements data stored in vectors "x" and "y". x is horizontal eye movements in degrees, y is vertical eye movements in degrees.
Uisng these two vectors I want to calculate the Bivarite contour ellipse area (BCEA). The BCEA is a metric that quantifies the area of the region over which eye I want to fit an ellipse that best fits this data.
Equation of BCEA = 2.291*SD of x* SD of y* sqrt(1-corr(x,y)2)
Can someone please help me writing a matlab code for doing this. I tried doing this. I got to know what is the value of BCEA. Having these value how do I fit an ellipse of the x and y data.
Help towards this is my appreciable.
Thanks
Eswar kurni

답변 (0개)

카테고리

Help CenterFile Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by