from
gaussian_mixture_model.m
by Matthew Roughan
Estimate the parameters of a 1D Gaussian Mixture Model using the EM algorithm.
|
| normcdf(x, mu, sigma) |
function cdf = normcdf(x, mu, sigma)
% normal CDF
%
% file: normcdf.m, (c) Matthew Roughan, Tue Jul 21 2009
% directory: /home/mroughan/src/matlab/NUMERICAL_ROUTINES/
% created: Tue Jul 21 2009
% author: Matthew Roughan
% email: matthew.roughan@adelaide.edu.au
%
% INPUTS:
% x = a vector of points at which to calculate the normal CDF
% mu = mean of the normal
% sigma = std dev. of the normal
%
cdf = 0.5 * erfc(-(x-mu)/(sigma*sqrt(2)));
|
|
Contact us at files@mathworks.com