Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

how to calculate distance euclidean

2 visualizzazioni (ultimi 30 giorni)
Kamil Kacer
Kamil Kacer il 24 Nov 2020
Chiuso: MATLAB Answer Bot il 20 Ago 2021
Hi guys I just cannot figure out the math behind how does these matrices produce this
c =
1 5 6
3 1 2
0 4 5
a = {[1;5;2]}
b = {[2;6;7]}
c = pdist2(a{1},b{1},'euclidean')

Risposte (1)

the cyclist
the cyclist il 24 Nov 2020
c(m,n) is the absolute value of the difference between the m-th element of the vector stored in a and the n-th element of the vector stored in b.

Questa domanda è chiusa.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by