How to calculate distance combination between two features in matlab?

조회 수: 1 (최근 30일)
Annie Lodhi
Annie Lodhi 2019년 7월 29일
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