MATLAB: How to check irreducible Markov chain

irreducible markov chain check

Hello,
Now I want to check in matlab if a Markov Chain is irreducible or not. I found some instructions in mathworks saying:
tf1 = isreducible(mc1) %returns true if the discrete-time Markov chain mc is reducible and false otherwise.
but it seems not to be enough. Then came accros a part saying that the object should be defined first as a Markov chain. dtmc mc1
But it still gives errors. Where can I find simple information/instructions about this topic? I am relatively new in matlab, so I do not know the right keywords. Does somebody have some advice for me?
Thank you in advance

Best Answer

https://de.mathworks.com/help/econ/dtmc.isreducible.html
Related Question