What does which -all normpdf
actually return? Does it actually point to the function from the statistics toolbox? You can also try edit normpdf
to see which file gets opened in the editor.
Normally, the first input to normpdf
is a vector or matrix of values, the second and third input scalar (although they can also be vectors or matrices). See documentation for more details.