zipf_rand(N, expn, M)

Version 1.0.0.0 (549 octets) par Tuyen Tran
Generate random numbers based on Zipf distribution
574 téléchargements
Mise à jour 17 oct. 2015

Afficher la licence

Generate random numbers based on Zipf distribution
Author: Tuyen Tran (tuyen.tran@rutgers.edu). Oct 2015
Reference: https://en.wikipedia.org/wiki/Zipf's_law

N Number of Elements
expn Exponent
M Number of sample to be generated (in range [1,N])

Example: zipf_rand(3,1,4)
ans = 3 2 1 1

Citation pour cette source

Tuyen Tran (2026). zipf_rand(N, expn, M) (https://fr.mathworks.com/matlabcentral/fileexchange/53568-zipf_rand-n-expn-m), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2015b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Random Number Generation dans Help Center et MATLAB Answers
Version Publié le Notes de version
1.0.0.0