Code is here:
load('HD.mat'); for i=1:11 distance = pdist2( H(i),HiS,'chisq'); md=min(min(distance(i))); if md==0 val=1; else val=0; end
msgbox('Person present in database');
msgbox('Person not present in database');
Please also tell me if match is found then how to retrieve the image from database?? Thanks in Advance.