how to change the bit of any matrix?
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sultan Mehmood
le 1 Juil 2019
Réponse apportée : Shameer Parmar
le 1 Juil 2019
A=[12 32 ;23 14];
>> D=A(:)';
>> S=de2bi(D);
>> S=de2bi(D)
S =
0 0 1 1 0 0
1 1 1 0 1 0
0 0 0 0 0 1
0 1 1 1 0 0
>> i want to make its 4th bit zero.. so what will i do?
0 commentaires
Réponse acceptée
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Command-Line Only Options dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!