Create a I32 array with x ones and N-x zeroes, then apply riffle.vi to randomize the array. Flip the bits of your data for each position that is one.
↧
Create a I32 array with x ones and N-x zeroes, then apply riffle.vi to randomize the array. Flip the bits of your data for each position that is one.