- Hello, I want to calculate the percentage of image not presented to image is presented *
function ham_dis = rec_test(train,impostures) ham_dis = []; for g=1:5 for j=1:339 ham_dis(j,:)= sum(sum(abs(impostures(g,:)-train(j,:)))); if (ham_dis(j,:) < 7374) disp('image is present'); else disp('image not present'); end end end end
thanks
Best Answer