Is there an easy way to convert a char array to a vector?
for example,
I have this
my_array = <1*64 char>
and it is full of “1010101010…”
I want it to be:
my_vector = [1 0 1 0 1 0….]
is there any function that makes it possible without me writing any code? thanks
1 Answer