frest.createFixedTsSinestream
Package: frest
Sinestream input signal with fixed sample time
Syntax
input = frest.createFixedTsSinestream(ts)
input = frest.createFixedTsSinestream(ts,{wmin wmax})
input = frest.createFixedTsSinestream(ts,w)
input = frest.createFixedTsSinestream(ts,sys)
input = frest.createFixedTsSinestream(ts,sys,{wmin wmax})
input = frest.createFixedTsSinestream(ts,sys,w)
Description
input = frest.createFixedTsSinestream(ts) creates sinestream input signal in
which each frequency has the same fixed sample time ts in seconds. The signal has 30
frequencies between 1 and ωs, where ωs=
2 π
ts
is the sample rate in radians per second.
The software adjusts the SamplesPerPeriod option to ensure that each frequency has
the same sample time. Use when your Simulink model has linearization input I/Os on
signals with discrete sample times.
input = frest.createFixedTsSinestream(ts,{wmin wmax}) creates sinestream
input signal with up to 30 frequencies logarithmically spaced between wmin and wmax in
radians per second.
input = frest.createFixedTsSinestream(ts,w) creates sinestream input signal
with frequencies w, specified as a vector of frequency values in radians per second. The
values of w must satisfy w=
2 π
Nts for integer N such that the sample rate ωs=
2 π
ts is an
integer multiple of each element of w.
15 Alphabetical List