Mercurial > hg > trimatlab
view mt_show_transmat.m @ 7:917d5d11aa48
mt_show_transmat now computes information measures if not given.
author | samer |
---|---|
date | Wed, 08 Feb 2012 22:24:06 +0000 |
parents | ffd7efa3e5c0 |
children | e1534c7329e2 |
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); title(sprintf('H=%.2f, R=%.2f, PI=%.2f',I(1),I(2),I(3))); end