Special Functions

beta

Beta function.

Syntax

y = beta(z, w)

Description

...

Example

beta(1.3,2.5)
  0.2542

See also

betaln, betainc, gamma

betainc

Incomplete Beta function.

Syntax

y = betainc(x, z, w)

Description

...

Example

betainc(0.3,1.3,2.5)
  0.4806

See also

beta, betaln, gammainc

betaln

Logarithm of Beta function.

Syntax

y = betaln(z, w)

Description

...

Example

betaln(1.3,2.5)
  -1.3698

See also

beta, betainc, gammaln

chi2cdf

Chi-square cumulative distribution function.

Syntax

y = chi2cdf(x, v)

Description

...

Example

chi2cdf(7.2,5)
  0.7938

See also

fcdf, tcdf

erf

Error function.

Syntax

y = erf(x)

Description

...

Example

erf(0.8)
  0.7421

See also

erfc

erfc

Complementary error function.

Syntax

y = erfc(x)

Description

...

Example

erfc(0.8)
  0.2579

See also

erf

fcdf

F cumulative distribution function.

Syntax

y = fcdf(x, v1, v2)

Description

...

Example

fcdf(2.2,5,6)
  0.8175

See also

chi2cdf, tcdf

gamma

Gamma function.

Syntax

y = gamma(z)

Description

...

Example

gamma(1.3)
  0.8975

See also

gammaln, gammainc, beta

gammainc

Incomplete Gamma function.

Syntax

y = gammainc(x, z, w)

Description

...

Example

gammainc(2.6,3.1)
  0.4571

See also

gamma, gammaln, betainc

gammaln

Logarithm of Gamma function.

Syntax

y = gammaln(z, w)

Description

...

Example

gammaln(1.3)
  -0.1082

See also

gamma, gammainc, betaln

tcdf

T cumulative distribution function.

Syntax

y = tcdf(x, v1, v2)

Description

...

Example

tcdf(2.2,1.6)
  0.1897

See also

chi2cdf, fcdf


Copyright 2000-2001, Yves Piguet.

All rights reserved.