Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (1)
Walter Roberson
le 20 Juil 2011
I = reshape(rand(1,N)>0.5),2,[]).';
[I, xor(I(:,1),I(:,2))]
1 commentaire
mahaveer hanuman
le 20 Juil 2011
Catégories
En savoir plus sur Structures dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!