Hi,
Then it’s almost the same approach. It is possible to instantiate a dseries
from a matlab array instead of a data file. The sole difference is that you have to provide the names of the series in a third argument to the dseries
constructor (routine) as a cell of char arrays, you can also provide the \TeX names of the variables in a fourth argument. In the array, passed as the first argument, the data must be in column (each column is for a different variable). The data you need are stored in oo_.shock_decomposition
which is a three dimensional array which you’ll have to manipulate (transposition, squeeze, …) to fit your needs. The organisation of this array is described in the reference manual. The different approaches to instantiate dseries
objects are also described in section 6.2 of the same manual.
Best,
Stéphane.