how to calculate euclidean norm of two points?
6 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
KALYAN ACHARJYA
2019 年 11 月 19 日
編集済み: KALYAN ACHARJYA
2019 年 11 月 19 日
As you mentioned ||x-y||^2
(abs(x-y))^2
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Statistics and Machine Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!