Commit 831783a3 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

remove strsplit which does not exist in earlier verions of Matlab

parent 93dd95c2
......@@ -84,7 +84,7 @@ function make_report_irfs(M, oo, ticks_every, showOutput)
if ~calcxticks
data = dseries(oo.irfs.(fields{idx})');
xTicks = 1:ticks_every:floor(data.nobs/ticks_every)*ticks_every+1;
xTickLabels = strsplit(num2str(xTicks-1));
xTickLabels = regexp(num2str(xTicks-1), '(?:\s)+', 'split');
calcxticks = true;
r = r.addGraph('data', dseries(oo.irfs.(fields{idx})'), ...
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment