This function generates the signal y = sum(func(t+d,...)) for each d.
y = pulstran (t, d, func, ...) y = pulstran (t, d, p) y = pulstran (t, d, p, fs) y = pulstran (t, d, p, Ffs, meth)
vector or matrix
default value 1Hz
function which accepts vector (of times)
This is an Octave function. This function generates the signal y = sum(func(t+d,...)) for each d. If d is a matrix of two columns, the first column is the delay d and the second column is the amplitude a, and y = sum(a*func(t+d)) for each d, a. Here, func is a function which accepts a vector of times. If a pulse shape sampled at frequency Fs (default 1 Hz) is supplied instead of a function name, an interpolated version of the pulse is added at each delay d.