tutorial: recursive bayes with MATLAB example part1, by Student Dave