Stixbox Function
Last update : 21/4/2006

dnorm - The normal density function

Calling Sequence

y = dnorm(x [,m,s])

Parameters

Description

The normal density function.

 y=exp(-0.5*((x-m)./s)^2)./(sqrt(2*pi).*s)
   

Examples

  
x = -5:0.1:5 ;
y = dnorm(x);
plot(x,y);