How I can convert a binary number into Matrix
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Abduellah Elbakoush
le 20 Déc 2021
Réponse apportée : yanqi liu
le 21 Déc 2021
I have 100110101010
I want 10
01
10
10
10
10
1 commentaire
Réponse acceptée
yanqi liu
le 21 Déc 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!