MATLAB马尔可夫实现我要分享

Matlab Markov realization

关注次数: 156

下载次数: 1

文件大小: 1.41 kB

代码分类: 其他

开发平台: matlab

下载需要积分: 2积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:function [chain,state]=markov(T,n,s0,V); %function [chain,state]=markov(T,n,s0,V); %  chain generates a simulation from a Markov chain of dimension %  the size of T % %  T is transition matrix %  n is number of periods to simulate %  s0 is initial state (initial probabilities) %  V is the quantity corresponding to each state %  state is a matrix recording the number of the realized state at time t % % Original author: Tom Sargent % Comments added by Qiang Chen


English Description:

function [chain,state]=markov(T,n,s0,V);


代码预览

相关推荐