Mahalanobis distance for a matrix with itself

3 views (last 30 days)
Hi
I am not sure I understand how I can do the following:
I have a 100x200 matrix - these are 100 timeseries, each timeseries has 200 datapoints. Now I want to calculate the mahalanobis distance of each timeseries with all the others - so theoretically I would end up with a symmetric 100x100 matrix - however, how can I do that in Matlab?
mahal(X',X')
does not seem to return the desired result

Answers (0)

Categories

Find more on Time Series in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!