当前位置:网站首页>P-norm (2-norm is Euclidean norm)
P-norm (2-norm is Euclidean norm)
2022-07-26 04:15:00 【Selvaggia】
Normalized matrix
p- Norm definition
common 1- norm 、2- norm ( Euclid Norm )
vecnorm and norm
vecnorm


application
Calculate the European distance. Don't recite the distance formula between two points foolishly , Directly a two norm is done
such as ,A=[1 1 ; 2 2 ; 3 3] It is a matrix with three rows and two columns , Lines represent points , Column means X and Y coordinate , Empathy ,B=[5 5 ; 6 6 ; 7 7].
Then calculate A and B Euclidean distance corresponding to three points , It can be used directly vecnorm ( A − B , 2 , 2 ) (A-B,2,2) (A−B,2,2)
No, no, No ,2016 Version cannot be used vecnorm
norm
norm For the parameter is vector Time and vecnorm equally
Calculating the Euclidean distance between two points can also
For matrix 2- norm No OK 了 


norm Normalized matrix
for j=1:n
b(:,j)=a(:,j)/norm(a(:,j)); % Vector programming
end
边栏推荐
- 1. Mx6u-alpha development board (main frequency and clock configuration experiment)
- JS get some attributes of the object
- Apple removed the last Intel chip from its products
- JS upload avatar (you can understand it after reading it, trust me)
- I.MX6U-ALPHA开发板(GPIO中断实验)
- This article takes you to graph transformers
- 图论:拓扑排序
- Acwing刷题
- p-范数(2-范数 即 欧几里得范数)
- Chapter 18: explore the wonders of the mean in the 2-bit a~b system, specify the 3x+1 conversion process of integers, specify an interval to verify the angular Valley conjecture, explore the number of
猜你喜欢

When you try to delete all bad code in the program | daily anecdotes

Working ideas of stability and high availability guarantee

Constructing verb sources for relation extraction

综合评价与决策方法

工程师如何对待开源 --- 一个老工程师的肺腑之言

(translation) the button position convention can strengthen the user's usage habits

Luoda development - audio stream processing - AAC / loopbacktest as an example

荐书|《DBT技巧训练手册》:宝贝,你就是你活着的原因

Acwing_12. 背包问题求具体方案_dp

Sentinel fusing and current limiting
随机推荐
Method of test case design: introduction, trial recruit, preliminary exploration of equivalence boundary
JS get some attributes of the object
How to download the supplementary literature?
`Oi problem solving ` ` leetcode '2040. The k-th minor product of two ordered arrays
Laravel8 implements interface authentication encapsulation using JWT
Write a paper for help, how to write the discussion part?
匿名函数的作用
测试用例设计方法之——招式组合,因果判定
Seat / safety configuration upgrade is the administrative experience of the new Volvo S90 in place
Recommendation | scholar's art and Tao: writing papers is a skill
(翻译)网站流程图和用户流程图的使用时机
图论:拓扑排序
Pits encountered by sdl2 OpenGL
Apisex's exploration in the field of API and microservices
荐书 |《学者的术与道》:写论文是门手艺
Where does international crude oil open an account, a formal, safe and secure platform
Constructing verb sources for relation extraction
Pat class a 1039 course list for student
华为高层谈 35 岁危机,程序员如何破年龄之忧?
[binary tree] the longest interleaved path in a binary tree