Errors I have never encountered:Error using randg

1 次查看(过去 30 天)
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 个评论
Li Qing
Li Qing 2021-7-11
Print a and sizeOut to the console to find the problem.During operation, "a" (that is, alpha) becomes plural.

请先登录,再进行评论。

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Characters and Strings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by