I have a matrix called myMatrix. In the below code I generated a 256 bit response by comparing ROW1 with ROW2, ROW3 with ROW4 etc.
How can I modify the code to generate a 256 bit response by comparing ROW1 with ROW17, ROW2 with ROW18 etc.
output_bit=zeros(256,193);for s=1:193; p=1;for q=1:2:512; if myMatrix(q,s) > myMatrix(q+1,s); output_bit(p,s)=1; else output_bit(p,s)=0; end p=p+1; end end
Best Answer