Zipf distribution on matlab
18 ビュー (過去 30 日間)
古いコメントを表示
How to make zipf distribution on matlab please. Any coding
0 件のコメント
回答 (1 件)
Star Strider
2016 年 8 月 31 日
It’s easy enough to code:
zipfpdf = @(x,rho) x.^(-(rho + 1)) ./ zeta(rho + 1);
See the discussion on Wolfram MathWorld for the Zipf Distribution for a full discussion and an expression for the cumulative distribution function and moments.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!