zipf_rand function not working

1 次查看(过去 30 天)
Adeena Naeem
Adeena Naeem 2019-8-20
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 个评论
Rik
Rik 2019-8-20
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Whos 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by