ts01
Generation of a periodic 01010101... sequence
Séquence d'appel
b = ts01(n)
b = ts01(n)
Paramètres
- n:
number of bits to generate
- b:
output binary sequence
number of bits to generate
output binary sequence
Exemples
// Generation of a vector of 8 alternating bits
b = ts01(8)
// Generation of a vector of 8 alternating bits b = ts01(8) |