How I can convert a binary number into Matrix
13 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Abduellah Elbakoush
am 20 Dez. 2021
Beantwortet: yanqi liu
am 21 Dez. 2021
I have 100110101010
I want 10
01
10
10
10
10
1 Kommentar
Akzeptierte Antwort
yanqi liu
am 21 Dez. 2021
a = logical([1 0 0 1 1 0 1 0 1 0 1 0])
b = [a(1:2:end)' a(2:2:end)']
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!