How I can convert a binary number into Matrix
13 views (last 30 days)
Show older comments
Accepted Answer
yanqi liu
on 21 Dec 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 Comments
More Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!