title: Mahalanobis distance in Matlab
body: <p>I am trying to find the Mahalanobis distance of some points from the origin.The MATLAB command for that is mahal(Y,X)</p>
  
  <p>But if I use this I get NaN as the matrix X =0 as the distance needs to be found from the origin.Can someone please help me with this.How should it be done</p>