Finite-State Approximation Of VAR Processes: A Simulation Approach, by Stephanie Schmitt-Grohe and Martin Uribe

Paper

Matlab code: tpm.m