how to calculate euclidean norm of two points?

10 views (last 30 days)
My question is to find euclidean norm of two points
here is my code for this:
%let x=2, y=3
%answer in command window
kindly tell me if I am using right command! or should i also take square root?

Answers (1)

KALYAN ACHARJYA on 19 Nov 2019
Edited: KALYAN ACHARJYA on 19 Nov 2019
As you mentioned ||x-y||^2
If not, please do read here the theory and tell us the expression

Community Treasure Hunt

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

Start Hunting!