How to calculate distance combination between two features in matlab?

1 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by