フィルターのクリア

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 Center および File ExchangeStatistics 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