function w=weighting(match,q,p)

w=ones(1,size(match,2));

% match

q
p
% keyboard
