[英]How to calculate the distance between two vectors of 6 elements?
I have two vectors, V1 and V2 where:我有两个向量,V1 和 V2,其中:
V1 = [0.0084 0.1871 0.1033 0.3332 0.3156 0.0524];
V2 = [0.0176 0.2079 0.1245 0.2954 0.2510 0.1036];
How do I calculate the distance geometry between the two vectors?如何计算两个向量之间的距离几何?
The distance is given by the norm of the difference.距离由差的范数给出。 In MATLAB:
在 MATLAB 中:
norm(V1-V2)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.