redial - end SUCCESS=zeros(1,TESTSET_COUNT 1 for...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
%redial.m OUTPUTS=cell(1,TESTSET_COUNT+1); DIFFERENCES=cell(1,TESTSET_COUNT+1); OUTPUTS{1,1}=sign(W*y); DIFFERENCES{1,1}=sum((d-OUTPUTS{1,1}).^2,1); for COUNT=1:TESTSET_COUNT OUTPUTS{1,COUNT+1}=sign(W*TESTSET{1,COUNT}); DIFFERENCES{1,COUNT+1}=sum((d-OUTPUTS{1,COUNT+1}).^2,1);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: end SUCCESS=zeros(1,TESTSET_COUNT+1); for r=1:TESTSET_COUNT+1 for p=1:P if DIFFERENCES{1,r}(1,p)==0 SUCCESS(1,r)=SUCCESS(1,r)+1; end end end stem(SUCCESS) %------------------------------------------------------------------------------...
View Full Document

This note was uploaded on 07/13/2011 for the course ECE 501 taught by Professor Deniz during the Spring '11 term at Istanbul Universitesi.

Ask a homework question - tutors are online