Convert a vector to single element
7 visualizaciones (últimos 30 días)
salah roud el 22 de Feb. de 2020
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