Watch this Author's files
Great job, but it would be better if the function could create a time series of correlation matrices recursively.
Contact us at files@mathworks.com