corr
Plot the correlation of the true data against the fitted resimulated data.
corr(sim)
sim
Useful links