A MATLAB tutorial: HTML, PostScript
2D Data sets:
An additional tip for visualizing the HMM transition matrix:
To visualize the transition matrix, you can use "imagesc(transition)" in MATLAB. However, the final transition matrix will typically have most values very close to zero, even for valid transitions. Another visualization that makes the non-zero values more evident is "imagesc(log(transition + eps))". (eps is a matlab builtin value equal to 2.2204e-016. Any small value will do; the idea is to prevent computing log(0) ).