Simulate Continuous-Time Markov Chains
Version 1.0.2 (4,43 KB) von
Dana
This code can be used to simulate continuous-time Markov chains
There are two functions: (1) simCTMC.m is used to simulate jump times and the corresponding states that are jumped to, given a Q-matrix and a desired number of periods. (2) simCTMC_t.m uses the output of simCTMC.m to generate a time series simulation for the states.
Zitieren als
Dana (2026). Simulate Continuous-Time Markov Chains (https://de.mathworks.com/matlabcentral/fileexchange/79649-simulate-continuous-time-markov-chains), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2020a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.2 | Added some additional input verification |
||
| 1.0.1 | Can now set T=Inf to simulate until an absorbing state is reached. Other minor improvements also made. |
||
| 1.0.0 |
