Zipf distribution on matlab
24 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
How to make zipf distribution on matlab please. Any coding
0 Kommentare
Antworten (1)
Star Strider
am 31 Aug. 2016
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 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!