how to calculate euclidean norm of two points?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
My question is to find euclidean norm of two points
||x-y||^2
here is my code for this:
%let x=2, y=3
norm(x-y)
%answer in command window
1
kindly tell me if I am using right command! or should i also take square root?
0 comentarios
Respuestas (1)
KALYAN ACHARJYA
el 19 de Nov. de 2019
Editada: KALYAN ACHARJYA
el 19 de Nov. de 2019
As you mentioned ||x-y||^2
(abs(x-y))^2
0 comentarios
Ver también
Categorías
Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!