Mahalanobis distance for a matrix with itself

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

Tags

Asked:

on 11 Nov 2015

Community Treasure Hunt

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

Start Hunting!