Ältere Kommentare anzeigen
I=rand(1,N)>0.5 N=90 xor operation should done for each two bits . and out put should be corresponding two bit followed with result. pls help me
Akzeptierte Antwort
Weitere Antworten (1)
Walter Roberson
am 20 Jul. 2011
I = reshape(rand(1,N)>0.5),2,[]).';
[I, xor(I(:,1),I(:,2))]
1 Kommentar
mahaveer hanuman
am 20 Jul. 2011
Kategorien
Mehr zu Structures finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!