How to calculate distance combination between two features in matlab?
1 view (last 30 days)
Show older comments
I have to calculate the distance between two features in a large feature set ?
For example I have two feature set given below
X = (3,1,2,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,15,1,0,1,1,0,6,2,4,3,0,3,26,13,23,12,49,25,227.55,2834.88,0.08,12.46,157.49,0.07,1,1,1,1,1,11,1,1,3,1,1,2,1,1,4,1,4,1,1,6,1,1,1,1,1);
Y = (3,1,2,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,15,1,0,1,1,0,6,2,4,3,0,3,26,13,23,12,49,25,227.55,2834.88,0.08,12.46,157.49,0.07,1,1,1,1,1,11,1,1,3,1,1,2,1,1,1,4,4,1,1,6,1,1,1,1,1);
and I have to calculate the distance between two oppsite features e.g between 3-3 , 1-1 , 2-2 , 4-4 , 0-0 etc.
How I can calculate it ?
0 Comments
Answers (0)
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!