马尔科夫链matlab代码.docx
《马尔科夫链matlab代码.docx》由会员分享,可在线阅读,更多相关《马尔科夫链matlab代码.docx(3页珍藏版)》请在优知文库上搜索。
1、马尔科夫链%ThisisprogrammedforcalculatingtheMarkov-chainstatetransferprobability(Firstorder)matrice!%Thisprogramisbasedon4thresholds,thatis,thetransferprobabilitymatriceis4x4.%Followthenotestoconducttheprocessing.%CodedbyEOS%NanchangChinaclearclc%A=csvread(,widetype.csv,)j%ormanuallydefineviaA=.A=%Aisthe
2、informationmatrixwhichmustbeadjustedtowide-type,i(section)-j(time)%OUt=ZeroS(4,4);%InitiaIiZetheIransferingprobability(Firstorder)matricerl,r2,r3=deal(1.009,1.285,1.7256);%!Definethestatethresholdvaluemanually.flag=0;trans=zeros(4,4);sO=zeros(1,4);epro=zeros(10,4);fori=l:10ifA(i,l)=rl&A(i,1)=r2&A(iJ
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 马尔科夫链 matlab 代码
