How to generate 100 sample points of a 3-state Markov chain with initial prob vector and transition probability matrix using inverse transform method on matlab.
Afficher commentaires plus anciens
P = [0.3 0.1 0.1; 0.3 0.9 0.1; 0.4 0 0.8]; % Transition Matrix
P0 = [0.1 0.9 0]; %initial probability Vector
Then I dont know how to do the rest. Please help me.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Particle & Nuclear Physics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!