Question: what is normpdf function in matlab?
Answer: The MATLAB function normpdf gives the normal probability density function. If X is a vector then the command normpdf(X,mu,sigma) computes the normal density with parameters mu and sigma at each value of X. The command normpdf(X) computes the standard normal density at each value of X.