Mercurial > hg > trimatlab
view mt_show_transmat.m @ 9:cc549aca4ea6
Added optional shuffling of Markov chain symbols.
author | samer |
---|---|
date | Mon, 20 Feb 2012 13:39:30 +0000 |
parents | e1534c7329e2 |
children | 0e0f2805ef9c |
line wrap: on
line source
% mt_show_transmat - Display image of transition matrix for voice % % mt_show_transmat :: % natural ~'voice id' % [[K,K]] ~'transition matrix' % -> action void. function mt_show_transmat(Id,T,I) figure(Id); imagesc(T,[0,1]); axis xy; if nargin<3, I=mc_global_info(T); end title(sprintf('H=%.2f, R=%.2f, PI=%.2f',I(1),I(2),I(3))); end