Probablity distribution calculation for a vector
7 views (last 30 days)
Roger Stafford on 21 Aug 2014
From the documentation for normpdf at
"Y = normpdf(X,mu,sigma) computes the pdf at each of the values in X using the normal distribution with mean mu and standard deviation sigma. X, mu, and sigma can be vectors, matrices, or multidimensional arrays that all have the same size. A scalar input is expanded to a constant array with the same dimensions as the other inputs. The parameters in sigma must be positive."
That should answer your question.