Products & Services Solutions Academia Support User Community Company

Learn more about Simulink Control Design   

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 series of sine waves using a fixed sample time ts in seconds. Use when your Simulink model has linearization input I/Os on signals with discrete sample times.

input = frest.createFixedTsSinestream(ts,{wmin wmax}) creates series of sine waves with frequencies between wmin and wmax in rad/s.

input = frest.createFixedTsSinestream(ts,w) creates series of sine waves with frequencies w, specified as a vector of frequency values in rad/s. The values of w must satisfy for integer N such that the sample rate ts is an integer multiple of each element of w.

input = frest.createFixedTsSinestream(ts,sys) creates series of sine waves with a fixed sample time ts based on the dynamics of a linear system sys.

input = frest.createFixedTsSinestream(ts,sys,{wmin wmax}) creates series of sine waves with a fixed sample time ts based on the dynamics of a linear system such that the frequencies are between wmin and wmax.

input = frest.createFixedTsSinestream(ts,sys,w) creates series of sine waves at frequencies w in rad/s. The values of w must satisfy for integer N. In this case, the sample rate corresponding to ts is an integer multiple of each element in 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

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS