(1) dist 欧几里得距离权函数
Z = dist(W,P,FP)
dim = dist('size',S,R,FP)
dw = dist('dw',W,P,Z,FP)
D = dist(pos)
info = dist('code')
0.8705
0.1909
0.4229
0.8706
0.7651
0.5156
0.5917
0.1118
0.3500
0.2799
0.3541
0.2267
0.7005
0.7944
0.8652
0.2283
0.8885
0.1161
0.0203
0.1223
0.2577
0.8963
0.0224
0.7173
0.6574
0
This MATLAB function takes these inputs, W S-by-R weight matrix
P R-by-Q matrix of
Q input (column) vectors FPStruct of function parameters (optional, ignored)
W中每行为一个输入向量,P中每列为一个输入向量
>> w=rand(2,3)
w =
>> v=rand(3,6)
v =
>> w*v
ans =