How to calculate distance combination between two features in matlab?

1 Ansicht (letzte 30 Tage)
Annie Lodhi
Annie Lodhi am 29 Jul. 2019
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 ?

Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by