zipf_rand function not working

When I use the zipf_rand function as 'fN = zipf_rand(100,1,100)' the following error is shown:
Undefined function or variable 'zipf_rand'.
Can someone guide me on how I can resolve this issue.

2 commentaires

Rik
Rik le 20 Août 2019
That function is not a native Matlab function, but a function from the File Exchange. Did you make sure the m file of that function is on the search path? That can be any path you edit in the settings, or your current folder.
Adeena Naeem
Adeena Naeem le 20 Août 2019
Many thanks!

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur MATLAB Report Generator dans Centre d'aide et File Exchange

Tags

Question posée :

le 20 Août 2019

Commenté :

le 20 Août 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by