normaldens

Calculates the probability density function (PDF) for the normal(Gaussian) distribution. Depending on input, function can return scalar, vector or matrix

Arguments

  1. Real parameter x
  2. Real value mi, mean or expectation of the distribution of x
  3. Real positive value ro, standard deviation of x

Output

Resulting value in [0,1]

Examples

normaldens