how to change the bit of any matrix?
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Sultan Mehmood
am 1 Jul. 2019
Beantwortet: Shameer Parmar
am 1 Jul. 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 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Command-Line Only Options finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!