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).
NormalGridFcn(g, r, mu, sd)
An m-by-n matrix as described above.
Locations at which to evaluate the normal densities.
Derivative degree of the densities to evaluate (0, 1, 2, or 3).
Means/locations for the normal densities.
Standard deviations of the normal densities.