Mercurial > hg > trimatlab
changeset 7:917d5d11aa48
mt_show_transmat now computes information measures if not given.
author | samer |
---|---|
date | Wed, 08 Feb 2012 22:24:06 +0000 |
parents | 0f16c069423b |
children | e1534c7329e2 |
files | mt_show_transmat.m private/mc_global_info.m |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mt_show_transmat.m Mon Feb 06 15:55:08 2012 +0000 +++ b/mt_show_transmat.m Wed Feb 08 22:24:06 2012 +0000 @@ -9,7 +9,6 @@ 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 + if nargin<3, I=mc_global_info(T); + title(sprintf('H=%.2f, R=%.2f, PI=%.2f',I(1),I(2),I(3))); end