Convert a vector to single element
8 views (last 30 days)
could someone tell me how to convert an vector to single element?
My code :
signal = ;
for i = 1:255-1
signal(i) = dec2bin(i,8)
i get this error "the error is " Unable to perform assignment because the left and right sides have a different number of elements."
i want to get this result
singal = [0000000,00000001,00000010,.............. Ets ]
how could do that ?
and thank you :D