MATLAB Realization of Bayesian Discriminant