MATLAB Programs and Exercises

Computer Exercises

A number of MATLAB functions are provided, which will help the interested reader to experiment on some of the most important issues discussed in the present chapter. Needless to say that there may be other implementations of these functions. Short comments are also given along with the code. In addition, we have used the symbols m and S to denote the mean vector (given as a column vector) and the covariance matrix, respectively, instead of the symbols μ and Σ, which are used in the text. In the following, unless otherwise stated, each class is represented by an integer in {1,…, c} where c is the number of classes.

  1. Gaussian generator. Generate N l-dimensional vectors from a Gaussian distribution ...

Get Pattern Recognition, 4th Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.