diff 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 diff
--- a/mt_show_transmat.m	Thu Feb 02 03:12:22 2012 +0000
+++ b/mt_show_transmat.m	Fri Feb 03 18:08:07 2012 +0000
@@ -5,7 +5,11 @@
 %    [[K,K]] ~'transition matrix'
 % -> action void.
 
-function mt_show_transmat(Id,T)
+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