Bayes classification for 2D Gaussian distributions

版本 1.1.0.0 (2.2 KB) 作者: Ke Yan
Draw Bayes classification results for 2D Gauss. distributions, return func. handles of N post. prob.
1.6K 次下载
更新时间 2015/5/1

查看许可证

It can be seen as a introduction to Bayesian classification, or Matlab plotting.
function ret = drawBayesGauss2D(mu,c,prProb,ax)
% Draw Bayes classification results for 2D Gaussian distributions.
% mu: 2-by-N, mean vector for N classes.
% c: 2-by-2-by-N, cov matrices.
% prProb: 1-by-N, prior probabilities.
% ax: [xmin xmax ymin ymax], plotting ranges.
% ret: If a return value is required, it will be a 1-by-N cell array
% containing N function_handles of N posterior probabilities.
% You can use ret{i}(X,Y) to get post-prob of class i at (X,Y).

引用格式

Ke Yan (2024). Bayes classification for 2D Gaussian distributions (https://www.mathworks.com/matlabcentral/fileexchange/32031-bayes-classification-for-2d-gaussian-distributions), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0.0

change the intro picture

1.0.0.0