Effacer les filtres
Effacer les filtres

how to find the Euclidean distance between the first and last columns in matrix?

1 vue (au cours des 30 derniers jours)
yosra
yosra le 12 Nov 2022
Réponse apportée : Voss le 12 Nov 2022
how to find the Euclidean distance between the first and last columns in matrix

Réponses (1)

Voss
Voss le 12 Nov 2022
norm(A(:,1)-A(:,end))

Catégories

En savoir plus sur Operators and Elementary Operations dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by