Errors I have never encountered:Error using randg

1 view (last 30 days)
Li Qing
Li Qing on 10 Jul 2021
Commented: zhijian Peng on 5 Nov 2021
Error using randg
SHAPE must be a full real double or single array.
This error keeps appearing when generating beta random numbers.I encountered this kind of problem for the first time, how can I solve it?
  4 Comments

Sign in to comment.

Answers (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 10 Jul 2021
Maybe, you would need to refresh up your matlab with:
clear all
and restart it.

Community Treasure Hunt

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

Start Hunting!