Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


sam
Posts:
27
Registered:
8/19/12


Where is the mistake ?
Posted:
Mar 24, 2013 7:00 AM


Hello every one, please where is the the mistake in this commands ?

V0=[0 0 0 0]; e=0; RE=[1 0 1 0;0 0 0 1] if ((RE(1,:)== V0)  (RE(2,:) == V0)) %% TEST ROUTER E e=e+1 else PP1=RE(1,:) PP3=RE(2,:) PP2=xor(PP1,PP3) RE=[PP1;PP2] end
 After run the program the result is : RE =
1 0 1 0 0 0 0 1
e =
1



