| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Statistics Toolbox |
| Contents | Index |
| Learn more about Statistics Toolbox |
Y = icdf(name,X,A)
Y = icdf(name,X,A,B)
Y = icdf(name,X,A,B,C)
Y = icdf(name,X,A) computes the inverse cumulative distribution function for the one-parameter family of distributions specified by name. Parameter values for the distribution are given in A. The inverse cumulative distribution function is evaluated at the values in X and its values are returned in Y.
If X and A are arrays, they must be the same size. If X is a scalar, it is expanded to a constant matrix the same size as A. If A is a scalar, it is expanded to a constant matrix the same size as X.
Y is the common size of X and A after any necessary scalar expansion.
Y = icdf(name,X,A,B) computes the inverse cumulative distribution function for two-parameter families of distributions, where parameter values are given in A and B.
If X, A, and B are arrays, they must be the same size. If X is a scalar, it is expanded to a constant matrix the same size as A and B. If either A or B are scalars, they are expanded to constant matrices the same size as X.
Y is the common size of X, A, and B after any necessary scalar expansion.
Y = icdf(name,X,A,B,C) computes the inverse cumulative distribution function for three-parameter families of distributions, where parameter values are given in A, B, and C.
If X, A, B, and C are arrays, they must be the same size. If X is a scalar, it is expanded to a constant matrix the same size as A, B, and C. If any of A, B or C are scalars, they are expanded to constant matrices the same size as X.
Y is the common size of X, A, B and C after any necessary scalar expansion.
Acceptable strings for name are:
'beta' (Beta distribution)
'bino' (Binomial distribution)
'chi2' (Chi-square distribution)
'exp' (Exponential distribution)
'ev' (Extreme value distribution)
'f' (F distribution)
'gam' (Gamma distribution)
'gev' (Generalized extreme value distribution)
'gp' (Generalized Pareto distribution)
'geo' (Geometric distribution)
'hyge' (Hypergeometric distribution)
'logn' (Lognormal distribution)
'nbin' (Negative binomial distribution)
'ncf' (Noncentral F distribution)
'nct' (Noncentral tdistribution)
'ncx2' (Noncentral chi-square distribution)
'norm' (Normal distribution)
'poiss' (Poisson distribution)
'rayl' (Rayleigh distribution)
't' (t distribution)
'unif' (Uniform distribution)
'unid' (Discrete uniform distribution)
'wbl' (Weibull distribution)
Compute the icdf of the normal distribution with mean 0 and standard deviation 1 at inputs 0.1, 0.3, ..., 0.9:
x1 = icdf('Normal',0.1:0.2:0.9,0,1)
x1 =
-1.2816 -0.5244 0 0.5244 1.2816
The order of the parameters is the same as for norminv.
Compute the icdfs of Poisson distributions with rate parameters 0, 1, ..., 4 at inputs 0.1, 0.3, ..., 0.9, respectively:
x2 = icdf('Poisson',0.1:0.2:0.9,0:4)
x2 =
NaN 0 2 4 7The order of the parameters is the same as for poissinv.
![]() | hygestat | icdf (ProbDistUnivKernel) | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |