dynare/matlab/f_var.m

4 lines
70 B
Matlab
Raw Normal View History

function b=f_var(x,a,nx)
x=reshape(x,nx,nx);
b=x-a*x*a';
b=b(:);