<< mean | Statistics | var >> |
y = normpdf(x) |
y = normpdf(x, mu) |
y = normpdf(x, mu, sigma) |
scalar value or array: Values at which to evaluate pdf.
scalar value, 0 (default) or array: Mean.
positive scalar value, 1 (default) or array of positive values: Standard deviation.
scalar value or array: pdf values.
y = normpdf(x) calculates the probability density function (pdf) of the standard normal distribution at the given values in x.
y = normpdf(x, mu) computes the pdf of the normal distribution with a mean of mu and a standard deviation of 1, evaluated at the provided values in x.
y = normpdf(x, mu, sigma) determines the pdf of the normal distribution with a mean of mu and a standard deviation of sigma, evaluated at the specified values in x.
x = [-0.2, -0.1, 0, 0.1, 0.2];
R = normpdf(x);
x = [-0.2, -0.1, 0, 0.1, 0.2];
R = normpdf(x, 2, 1);
R = normpdf(0, [-0.2, -0.1, 0, 0.1, 0.2], 1);
mean.
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET