필터 지우기
필터 지우기

How can I compute Kurtosis

조회 수: 4 (최근 30일)
Lisa Justin
Lisa Justin 2013년 10월 8일
답변: cr 2013년 10월 8일
How is Kurtosis computed in matlab?

채택된 답변

cr
cr 2013년 10월 8일
if you have stats toolbox, there is a function called kurtosis. Even otherwise, this should be very straightforward.
function k = kurtosis3(x,dim)
% Kurtosis function
mu = mean(x,dim);
repsiz = ones(1,length(size(mu)));
repsiz(dim) = size(x,dim);
d = (x-repmat(mu,repsiz)).^2;
n = d.^2;
k = mean(n,dim)./(mean(d,dim)).^2;

추가 답변 (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