Moving Skewness and moving kurtosis
17 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Image Analyst
2018-10-26
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 个评论
Leo Ge
2018-11-26
You may not know the huge difference of time consumption between "movavg()" and "loop+mean()".
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!