The normal density function
y = dnorm(x [,m,s])
real vector or matrix
mean (default value is zeros(x)
). m
is a scalar or a matrix with the same size as x
.
standard deviation (default value is ones(x)
). s
is a scalar or a matrix with the same size as x
.
normal density function with mean m
and standard deviation s
, at the values of x :
x = -5:0.1:5 ; y = dnorm(x); plot(x,y); | ![]() | ![]() |