frest.Sinestream
Package: frest
Signal containing series of sine waves
Syntax
input = frest.Sinestream(sys)
input = frest.Sinestream('OptionName',OptionValue)
Description
input = frest.Sinestream(sys) creates a signal with a series of sinusoids based on
the dynamics of a linear system sys.
input = frest.Sinestream('OptionName',OptionValue) creates a signal with a
series of sinusoids, where each sinusoid frequency lasts for a specified number of periods,
using the options specified by comma-separated name/value pairs.
To view a plot of your input signal, type plot(input). To obtain a timeseries for your
input signal, use the generateTimeseries command.
Input Arguments
sys
Linear system for creating a sinestream signal based on the dynamic characteristics of
this system. You can specify the linear system based on known dynamics using tf, zpk, or
ss. You can also obtain the linear system by linearizing a nonlinear system.
The resulting sinestream signal automatically sets these options based on the linear
system:
- 'Frequency' are the frequencies at which the linear system has interesting
dynamics.
frest.Sinestream