normalpdf

normalpdf(x) returns the probability of the density function at each value in x.

Examples

>> normalpdf(4)#

 0.00013383
>> x = -4:0.2:4
plot(x, normalpdf(x))

[x:1x41 double]
[ans:1x1 struct] 0.154000s

See also

normcdf | poissrnd | norminv