annotate mt_show_transmat.m @ 3:ffd7efa3e5c0

Added reverse map from information space to triangle; moved info coors to transmat window.
author samer
date Fri, 03 Feb 2012 18:08:07 +0000
parents be936975f254
children 917d5d11aa48
rev   line source
samer@0 1 % mt_show_transmat - Display image of transition matrix for voice
samer@0 2 %
samer@0 3 % mt_show_transmat ::
samer@0 4 % natural ~'voice id'
samer@0 5 % [[K,K]] ~'transition matrix'
samer@0 6 % -> action void.
samer@0 7
samer@3 8 function mt_show_transmat(Id,T,I)
samer@0 9 figure(Id);
samer@0 10 imagesc(T,[0,1]);
samer@0 11 axis xy;
samer@3 12 if nargin>2
samer@3 13 title(sprintf('H=%.2f, R=%.2f, PI=%.2f',I(1),I(2),I(3)));
samer@3 14 end
samer@3 15 end