You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I tried to use the mostest_demo data to run the 'mostest.m' in Matlab2020b, but get the errors as follow:
**"Error using betacdf
Too many input arguments.
Error in prob.BetaDistribution.cdffunc (line 163)
[varargout{1:nargout}] = betacdf(varargin{:});
Error in prob.ToolboxParametricDistribution/cdffun (line 16)
[varargout{1:nargout}] = this.cdffunc(x,pcell{1:min(end,this.NumParameters)},covarg{:},varargin{:});
Error in prob.TruncatableDistribution/cdf (line 153)
y = cdffun(this,x,varargin{:});
Error in mostest (line 209)
cdf_minpvecs=cdf(pd_minpvecs,10.^-hv_maxlogpvecs,'upper');"**
Could you help me to figure out the issue? thanks.
The text was updated successfully, but these errors were encountered:
Hi, I tried to use the mostest_demo data to run the 'mostest.m' in Matlab2020b, but get the errors as follow: **"Error using betacdf Too many input arguments.
Error in prob.BetaDistribution.cdffunc (line 163) [varargout{1:nargout}] = betacdf(varargin{:});
Error in prob.ToolboxParametricDistribution/cdffun (line 16) [varargout{1:nargout}] = this.cdffunc(x,pcell{1:min(end,this.NumParameters)},covarg{:},varargin{:});
Error in prob.TruncatableDistribution/cdf (line 153) y = cdffun(this,x,varargin{:});
Error in mostest (line 209) cdf_minpvecs=cdf(pd_minpvecs,10.^-hv_maxlogpvecs,'upper');"**
Could you help me to figure out the issue? thanks.
Hello, I don't know if you have solved this problem now, I had the same problem when I used it today. The reason for this problem is that the input of the betacdf function should be three cells, including x,a,b, and ''upper'' this parameter without input. But 'varargin' contains four arguments: x, a, b, and 'upper', so it will report an error. My correction is to enter only the first three cells, for example varargin{1:3} , hope this method can help you.
Hi, I tried to use the mostest_demo data to run the 'mostest.m' in Matlab2020b, but get the errors as follow:
**"Error using betacdf
Too many input arguments.
Error in prob.BetaDistribution.cdffunc (line 163)
[varargout{1:nargout}] = betacdf(varargin{:});
Error in prob.ToolboxParametricDistribution/cdffun (line 16)
[varargout{1:nargout}] = this.cdffunc(x,pcell{1:min(end,this.NumParameters)},covarg{:},varargin{:});
Error in prob.TruncatableDistribution/cdf (line 153)
y = cdffun(this,x,varargin{:});
Error in mostest (line 209)
cdf_minpvecs=cdf(pd_minpvecs,10.^-hv_maxlogpvecs,'upper');"**
Could you help me to figure out the issue? thanks.
The text was updated successfully, but these errors were encountered: