필터 지우기
필터 지우기

How to use pdist2 for unequal vectors?

조회 수: 1 (최근 30일)
phdcomputer Eng
phdcomputer Eng 2018년 12월 26일
I want to compute the distance between two vectors by using Jaccard distance measure in matlab program.
I studied about pdist2 function , I used it :
for i=1:m
D = pdist2(F(i).tumor,F(i).normal,'jaccard');
end
the program has this error:
Struct contents reference from a non-struct array object.
Is it important that the vectors in pdist2 sholud be the same size?
I'll be very grateful to have your opinion.

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by