当前位置:网站首页>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
边栏推荐
- 5 years, 1.4W times, NFT og's road to immortality Web3 column
- Overview of wavelet packet transform methods
- 吴恩达机器学习课后习题——线性回归
- 2.9.4 Boolean object type processing and convenient methods of ext JS
- [Reading Notes - > data analysis] Introduction to BDA textbook data analysis
- Method of test case design -- move combination, causal judgment
- [project chapter - how to write and map the business model? (3000 word graphic summary suggestions)] project plan of innovation and entrepreneurship competition and application form of national Entrep
- Day26 job
- 2.9.4 Ext JS的布尔对象类型处理及便捷方法
- 【SVN】一直出现 Please execute the ‘Cleanup‘ command,cleanup以后没有反应的解决办法
猜你喜欢

2021 CIKM |GF-VAE: A Flow-based Variational Autoencoder for Molecule Generation

Overview of wavelet packet transform methods

Recommendation | scholar's art and Tao: writing papers is a skill

Pat class a 1039 course list for student

p-范数(2-范数 即 欧几里得范数)

Verilog implementation of key dithering elimination

吴恩达机器学习课后习题——逻辑回归

I.MX6U-ALPHA开发板(主频和时钟配置实验)

Which websites can I visit to check the latest medical literature?

VM虚拟机 没有未桥接的主机网络适配器 无法还原默认配置
随机推荐
Huawei executives talk about the 35 year old crisis. How can programmers overcome the worry of age?
Educational Codeforces Round 132 (Rated for Div. 2) E. XOR Tree
Trust sums two numbers
工程师如何对待开源 --- 一个老工程师的肺腑之言
Recommendation Book Educational Psychology: a book for tomorrow's teachers~
Method of test case design -- move combination, causal judgment
Implementation of distributed lock
华为高层谈 35 岁危机,程序员如何破年龄之忧?
Day26 job
[oi knowledge] dichotomy, dichotomy concept, integer dichotomy, floating point dichotomy
Lua and go mixed call debugging records support cross platform (implemented through C and luajit)
AcWing. 102 best cattle fence
Acwing game 61 [End]
文献|关系研究能得出因果性结论吗
Linear basis property function code to achieve 3000 words detailed explanation, with examples
ROS2的launch有何不同?
Worked overtime for a week to develop a reporting system. This low code free it reporting artifact is very easy to use
I.MX6U-ALPHA开发板(GPIO中断实验)
The era of smart clothes has come. Zhinar invites you to discuss swords in Yangcheng. Guangya Exhibition is waiting for you on August 4
Summary of senior report development experience: understand this and do not make bad reports