Generate periodic signal. Useful in combination with lsim.
Inputs
Sine wave.
Cosine wave.
Square wave.
Periodic pulse.
Duration of one period in seconds.
Optional duration of the signal in seconds. Default duration is 5 periods.
Optional sampling time in seconds. Default spacing is tau/64.
Outputs
Vector of signal values.
Time vector of the signal.
See also: lsim.
Package: control