view 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
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>2
		title(sprintf('H=%.2f, R=%.2f, PI=%.2f',I(1),I(2),I(3)));
	end
end