Hamed
Hamed

Reputation: 77

how to calculate the distance between two vectors in matlab

can you help me, I have 480(rows)*256(columns) which extracted by LBP operator.so i need to get the similarity matrices to apply the verification scenario. e.g vector one with itself will give zero and vector one with vector two will give score and so on why I am doing this, is because I need to calculate false accept rate and false reject rate (FAR,FRR) by threshold.
thanks in advance

Upvotes: 1

Views: 3376

Answers (1)

Amro
Amro

Reputation: 124543

Use the pdist function. Note that it considers rows as instances (so you might want to transpose the matrix if you want to apply it to column vectors).

Upvotes: 2

Related Questions