From: Satish on 1 Apr 2010 04:01 Hi all, I have my matrix of 100*60. Among 6000 units , i just have '1'(one's) in 95-100 cell. Each matrix have different position of one's like : A=[ 0 0 1 0 .......1 1 0 0 1 .......0 0 1 0 0 .......1 0 0 0 0 .......0] B=[ 0 1 0 0 .......1 0 0 1 1 .......1 0 0 0 0 .......0 1 0 0 0 .......0] I tried to calculate distance using D = pdist(X,distance) where in distance i check with 'euclidean','seuclidean','mahalanobis','hamming'...etc. But the resulting distance from is zero. How can i calculate the distance in this matrix ? Thanks in Advance
|
Pages: 1 Prev: Om Image processing Next: Simulink Parameter Estimation without rebuilding at each iteration? |