Errors I have never encountered:Error using randg
显示 更早的评论
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 个评论
Walter Roberson
2021-7-10
Speculation:
Your alpha or beta might perhaps be symbolic. betarnd() does not support symbolic.
Li Qing
2021-7-11
Walter Roberson
2021-7-11
Not plural, but complex.
回答(1 个)
Sulaymon Eshkabilov
2021-7-10
Maybe, you would need to refresh up your matlab with:
clear all
and restart it.
3 个评论
Li Qing
2021-7-10
Li Qing
2021-7-11
zhijian Peng
2021-11-5
您好,我也遇到了error using randg。请问您是怎么解决的呀?
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Report Generator 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


