NormalGridFcn: Compute the values of n normal PDFs (or their derivatives at...

Description Usage Arguments Value

Description

Grid points are specified in g. Returns an m-by-n matrix. The (i,j)th element of the matrix is the rth derivative of N(mu(j),sd(j)) at g(i).

Usage

1
NormalGridFcn(g, r, mu, sd)

Arguments

g

Locations at which to evaluate the normal densities.

r

Derivative degree of the densities to evaluate (0, 1, 2, or 3).

mu

Means/locations for the normal densities.

sd

Standard deviations of the normal densities.

Value

An m-by-n matrix as described above.


scdensity documentation built on May 1, 2019, 10:26 p.m.