Skip to Main Content Skip to Search
Product Documentation

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 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 for integer N such that the sample rate is an integer multiple of each element of w.

input = frest.createFixedTsSinestream(ts,sys) creates sinestream input signal with a fixed sample time ts. The signal's frequencies, settling periods, and number of periods automatically set based on the dynamics of a linear system sys.

input = frest.createFixedTsSinestream(ts,sys,{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,sys,w) creates sinestream input signal at frequencies w, specified as a vector of frequency values in radians per second. The values of w must satisfy for integer N such that the sample rate ts is an integer multiple of each element of w.

Examples

Create a sinusoidal input signal with the following characteristics:

input = frest.createFixedTsSinestream(0.02,{1, 10});

See Also

frest.Sinestream | frestimate

How To

  


Free Control Systems Interactive Kit

Learn more about resources for designing, testing, and implementing control systems.

Get free kit

Trials Available

Try the latest control systems products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS