Zipf distribution on matlab
조회 수: 24 (최근 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!