lmlib Doc
Pulse signal generator
K (int) – Signal length
ks (list) – Time indices of unit impulses
out – Returns a unit impulse signal trail of length K with values at indices ks set to 1, all others to 0.
ndarray, shape=(K,)
ndarray
Example
previous
lmlib.utils.generator.gen_exp
next
lmlib.utils.generator.gen_rand_pulse