bayeserr - Computes the Bayesian risk for optimal classifier. % bayescln - Classifier based on Bayes decision rule for Gaussians. % bayesnd - Discrim. function, dichotomy, max aposteriori probability. % bhattach - Bhattacharya s upper limit of mean class. error. % pbayescln - Plots discriminat function of Bayes classifier.