convert binary to array matrix double

2 views (last 30 days)
Ardi Putranto
Ardi Putranto on 13 Jan 2020
Answered: David Hill on 13 Jan 2020
Hii guys,
can I change :
a =
'0101'
to
a =
columns 1 through 4
0 1 0 1
? thanks

Answers (1)

David Hill
David Hill on 13 Jan 2020
a=a-48;

Categories

Find more on Data Types 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!