Matlab realizes Bayesian classification