Filter löschen
Filter löschen

Errors I have never encountered:Error using randg

5 Ansichten (letzte 30 Tage)
Li Qing
Li Qing am 10 Jul. 2021
Kommentiert: zhijian Peng am 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 Kommentare
Li Qing
Li Qing am 11 Jul. 2021
Print a and sizeOut to the console to find the problem.During operation, "a" (that is, alpha) becomes plural.
Walter Roberson
Walter Roberson am 11 Jul. 2021
Not plural, but complex.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov am 10 Jul. 2021
Maybe, you would need to refresh up your matlab with:
clear all
and restart it.
  3 Kommentare
Li Qing
Li Qing am 11 Jul. 2021
Thanks.I found the problem.
zhijian Peng
zhijian Peng am 5 Nov. 2021
您好,我也遇到了error using randg。请问您是怎么解决的呀?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Characters and Strings finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by