normpdfProbability density function for normal distribution
normpdf(x)x.normpdf(x,mu)x and mu should have the same sizes. Otherwise, one of them should be a scalar. They contain, respectively, means of the PDFs being evaluated, and x values at which the PDFs are evaluated.x and mu have different sizes, one of them should be a scalar. The scalar input will be expanded to match the size of the other input.normpdf(x, mu, sigma)x, mu, and sigma should have the same sizes. Otherwise, for any pair of input arguments having different sizes, one of them must be a scalar; the scalar input will be expanded to match the size of the other input.mu, sigma and x contain, respectively, means and standard deviations of the PDFs being evaluated, and x values at which the PDFs are evaluated.