XOR operation
Mostra commenti meno recenti
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
Risposta accettata
Più risposte (1)
Walter Roberson
il 20 Lug 2011
I = reshape(rand(1,N)>0.5),2,[]).';
[I, xor(I(:,1),I(:,2))]
1 Commento
mahaveer hanuman
il 20 Lug 2011
Categorie
Scopri di più su Structures in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!