I want to split a char array '1001' into 1 0 0 1 bits

3 views (last 30 days)
How do I split '1001' - char array, into 4 separate bits like this => 1 0 0 1?

Answers (1)

madhan ravi
madhan ravi on 15 Oct 2020
'1001' - '0'

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by