Hi Monks,
I need to convert a sequence containing the positions of 1's in a binary sequence into the binary sequence. For example, how can I convert the array @pos = (2,4,6,9) to the corresponding binary array @bin=(0,0,1,0,1,0,1,0,0,1) efficiently.
Thanks in advance