计算一个矩阵 两两行相似性:
Dist=sqrt(A.^2*ones(size(B'))+ones(size(A))*(B').^2-2*A*B')
矩阵求导:
https://blog.csdn.net/daaikuaichuan/article/details/80620518
计算一个矩阵 两两行相似性:
Dist=sqrt(A.^2*ones(size(B'))+ones(size(A))*(B').^2-2*A*B')
矩阵求导:
https://blog.csdn.net/daaikuaichuan/article/details/80620518