pulstran
This function generates the signal y = sum(func(t+d,...)) for each d.
Calling Sequence
y = pulstran (t, d, func, ...)
y = pulstran (t, d, p)
y = pulstran (t, d, p, fs)
y = pulstran (t, d, p, Ffs, meth)
Parameters
t:
d:
vector or matrix
p:
fs:
default value 1Hz
func:
function which accepts vector (of times)
Description
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.
Examples