Natasha,
I honestly do not know how to solve your problem, but someone else on this thread may, so give this a little time to settle.
That said, I do have a few comments/observations.
The area I support is computational finance & economics. We deal almost entirely with stochastic processes, and so are ultimately concerned with the degree of "similarity" between 1 ("autocorr") or 2 ("crosscorr") time series. As such, we are usually not interested in any measure of "magnitude" or "scale".
In other disciplines, such as signal processing, people are often interested in measures of scale. For example, signal processing folks are often concerned about the energy content or power of a particular signal(s), and so removing the mean is not the preferred approach. In this sense, you can view auto- and cross-correlation as techniques similar in spirit to convolution, likely followed by subsequent frequency-domain spectral analysis.
The following wikipedia page actually has a decent discussion of these disciplines:
https://en.wikipedia.org/wiki/Cross-correlation
As for your specific problem, I suspect that you're on the right track.
Specifically, item (1) sounds as if your goal is purely to determine the degree of similarity, and so "crosscorr" (or an approach that subtracts the means) is all you need. That said, since both functions will give you a sense of similarity at various shifts, mean removal may not matter.
For item (2), mean removal may not matter either since it sounds as if you're looking for a "decay time", or some such metric. If this really is the case, then you could compute an autocorrelation using the "autocorr" function in the Econometrics Toolbox, or "xcorr" in Signal Processing to effect an auto-correlation as a cross-correlation of a signal with itself.
Again, I'd wait to see if someone in the signal processing are has any additional insights, as there may be other techniques or functionality better suited to your problem of which I'm unaware.
Best,
-Rick
"E. Natasha Stavros" <
natasha...@jpl.nasa.gov> wrote in message <ok32su$rbm$
1...@newscl01ah.mathworks.com>...