I need to calculate the euclidean distance between 2 matrices in matlab. Currently I am using bsxfun and calculating the distance as below( i am attaching a snippet of the code ):
What does this do? u = [5 6]; s = [1 1]; data1=[randn(10,1) -1*ones(10,1)]; data2=[randn(10,1) ones(10,1)];
i have the following in mathematica and want to use it in matlab.I tried but i have mistakes and can\'t fixed them.It is that i don\'t get yet the matlab philosophy!
在下贺朝大帅比 (单曲) 顾墨飞 专辑:【伪装学渣同人歌】在下贺朝大帅比 语种:国开发者_开发知识库语