what is the 'rndcheck'function?

when I use the function' gamrnd',the matlab hint'can't find the 'rndcheck''function,what is the 'rndcheck'function?

4 Kommentare

Walter Roberson
Walter Roberson am 28 Dez. 2018
Bearbeitet: Stephen23 am 20 Feb. 2019
What shows up for this command?:
which -all gamrnd
xixia33
xixia33 am 20 Feb. 2019
未定义函数或变量 'rndcheck'。
出错 gamrnd (line 38)
[errorcode rows columns] = rndcheck(4,2,a,b,m,n);
出错 sdm_mix>invgamrnd (line 432)
tempp = gamrnd(alpha,beta,n,m);
出错 sdm_mix (line 125)
sige(:,i) = invgamrnd( (length(y_use)/2 + a(i,1)), inv(resids+inv(b(i
Stephen23
Stephen23 am 20 Feb. 2019
Bearbeitet: Stephen23 am 20 Feb. 2019
@xixia33:
  1. What MATLAB version are you using?
  2. Have you made any changes to the MATLAB path?
  3. What shows up for this command?:
which -all gamrnd
xixia33
xixia33 am 20 Feb. 2019
the version is R2016a,I don't know if I have made any changes to the path.
when I use the invgamrnd.m,shows that:can't find the 'rndcheck' function.
what is the 'rndcheck' function? where to load it?
if I add this function to the path,there may be no such hint

Melden Sie sich an, um zu kommentieren.

Antworten (3)

祯松 廖
祯松 廖 am 7 Sep. 2021

0 Stimmen

I have the same question. Are you have address this question?
祯松 廖
祯松 廖 am 7 Sep. 2021
Bearbeitet: Walter Roberson am 7 Sep. 2021

0 Stimmen

I have find this rndcheck function in this website.
Walter Roberson
Walter Roberson am 7 Sep. 2021

0 Stimmen

rndcheck is at the bottom of the file gamrnd in the above toolbox, part of the same file.

Gefragt:

am 28 Dez. 2018

Beantwortet:

am 7 Sep. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by