function x = transitionSample(model,x,param)

switch model
    case 'stocVolatility'
        a = param(1);
        sigma = param(2);
        x = a*x + sigma * randn(length(x),1);
    otherwise
        error('Unknown model');
end
