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 Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by