Institut de Robòtica i Informàtica Industrial

GaussianCPD

PURPOSE ^

Computes the Gaussian cummulative probability distribution.

SYNOPSIS ^

function p=GaussianCPD(G,t)

DESCRIPTION ^

 Computes the Gaussian cummulative probability distribution.

 Cumulative probability distribution for a point, t, in a 
 uni-dimensional Gaussian.

CROSS-REFERENCE INFORMATION ^

This function calls:
  • sqrt Element-wise square root of an interval matrix (operator: .^0.5).
This function is called by:

SOURCE CODE ^

0001 function p=GaussianCPD(G,t)
0002 % Computes the Gaussian cummulative probability distribution.
0003 %
0004 % Cumulative probability distribution for a point, t, in a
0005 % uni-dimensional Gaussian.
0006 
0007   if G.dim>1
0008     error('Gaussian CPD is only defined one one-dimensional Gaussians');
0009   end
0010   p=0.5*(1+erf((t-G.m)/sqrt(2*G.S)));


Institut de Robòtica i Informàtica Industrial

Generated on Fri 24-Jul-2009 12:32:50 by m2html © 2003