首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Matlab > MATLAB马尔可夫实现

MATLAB马尔可夫实现

  • 资源大小:1.41 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: Matlab

资 源 简 介

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

文 件 列 表

markov.m
VIP VIP
0.173283s