function X_new = Tx_( X,  Gamma, Segma, Var,h )
%Tx is a discrete stocastic kernel used to calculate the continous state
%evolution in DTSHS model. 
%   The continuous transition kernel Tx describing the evolution of the continuous state x
%   Tx(.|(q, x)) = N(.; x + Segma*x + Gamma(q), v^2I)
%   X : continous state at time k
%   Q : Disceret state at  time k
%   X_new: continous state at time k+1
%   Gamma, Segma,V_2: Model parameter in multi-room application

X_new = zeros(1,5);


%calculate the normal distribuation mean vector
Mean_u = X + X *Segma + Gamma  ;


%Sample X_new from the normal distribuation
X_new = random( 'Normal',Mean_u, Var);
%X_new = Mean_u +sqrt(v_2)*randn(1,2);






end

