disp_steady_state.m: Use character array to make sure alignment in display of steady state is right
parent
a418a04249
commit
60efdd49bb
|
@ -32,9 +32,9 @@ function disp_steady_state(M,oo)
|
||||||
skipline()
|
skipline()
|
||||||
disp('STEADY-STATE RESULTS:')
|
disp('STEADY-STATE RESULTS:')
|
||||||
skipline()
|
skipline()
|
||||||
endo_names = M.endo_names;
|
endo_names = char(M.endo_names);
|
||||||
steady_state = oo.steady_state;
|
steady_state = oo.steady_state;
|
||||||
|
|
||||||
for i = 1:M.orig_endo_nbr
|
for i = 1:M.orig_endo_nbr
|
||||||
disp(sprintf('%s \t\t %g', endo_names{i}, steady_state(i)));
|
fprintf('%s \t\t %g\n', endo_names(i,:), steady_state(i));
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue