Note: This page has been translated by MathWorks. Please click here

To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.

Plot Markov chain simulations

`simplot(mc,X)`

`simplot(mc,X,Name,Value)`

`h = simplot(___)`

`simplot(`

uses additional
options specified by one or more `mc`

,`X`

,`Name,Value`

)`Name,Value`

pair arguments. For example, specify the type of plot or frame rate for animated
plots.

returns
the plot handle. Use `h`

= simplot(___)`h`

to modify properties of the plot after
it is created.

To compare a plot of realized transitions (`'Type','transitions'`

)
with the transition matrix,
use:

figure; imagesc(mc.P); colormap(jet); axis square;

Was this topic helpful?