diff --git a/matlab/ms-sbvar/ms_write_markov_file.m b/matlab/ms-sbvar/ms_write_markov_file.m index defd64225164eee907edd9b56b1b19a8e8c93a5b..24bd08d42c6083c00cf4299ac18b8b43fb2c180a 100644 --- a/matlab/ms-sbvar/ms_write_markov_file.m +++ b/matlab/ms-sbvar/ms_write_markov_file.m @@ -8,7 +8,7 @@ function ms_write_markov_file(fname,M,options) %/********************* Markov State Variable Information **********************/ %/******************************************************************************/ - fprintf(fh,'//== Flat Independent Markov States and Simple Restrictions ==//\n\n'); + fprintf(fh,'//== Markov State Variables with Simple Restrictions ==//\n\n'); %//This number is NOT used but read in. @@ -33,8 +33,8 @@ function ms_write_markov_file(fname,M,options) %//== column of the transition matrix. Each element must be positive. For each column, %//== the relative size of the prior elements determine the relative size of the elements %//== of the transition matrix and overall larger sizes implies a tighter prior. - fprintf(fh,['//== Transition matrix prior for state_variable[%d]. ' ... - '(n_states x n_states) ==//\n'],i_chain); + fprintf(fh,['//== Transition matrix prior for state_variable[%d] ==//\n'], ... + i_chain); Alpha = ones(n_states,n_states); for i_state = 1:n_states p = 1-1/options.ms.ms_chain(i_chain).state(i_state).duration; @@ -43,7 +43,7 @@ function ms_write_markov_file(fname,M,options) fprintf(fh,'\n'); end - fprintf(fh,['\n//== Free Dirichet dimensions for state_variable[%d] ' ... + fprintf(fh,['\n//== Dirichlet dimensions for state_variable[%d] ' ... '==//\n'],i_chain); % fprintf(fh,'%d ',repmat(n_states,1,n_states)); fprintf(fh,'%d ',repmat(2,1,n_states));