Moving Skewness and moving kurtosis

11 Ansichten (letzte 30 Tage)
Katrina Anderson
Katrina Anderson am 26 Okt. 2018
Kommentiert: Leo Ge am 26 Nov. 2018
Hi, I am trying to figure out how to calculate the kurtosis and skewness during a 1 second time frame of data (500 points) moving through my entire data. I have figured out mean, median, std etc. But I am unsure how to calculate this.
I have 9 axis of data from an IMU, so i wish to calculate this moving skewness and kurtosis for each axis.
Thankyou for your help.

Antworten (1)

Image Analyst
Image Analyst am 26 Okt. 2018
There are functions for skewness() and kurtosis() in the Statistics and Machine Learning Toolbox. So just program up a for loop where you move a window along and call those functions. Easy, right?
  1 Kommentar
Leo Ge
Leo Ge am 26 Nov. 2018
You may not know the huge difference of time consumption between "movavg()" and "loop+mean()".

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Get Started with Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by