Products & Services Solutions Academia Support User Community Company

Learn more about Simulink Control Design   

generateTimeseries - Generate time-domain data for input signal

Syntax

ts = generateTimeseries(input)

Description

ts = generateTimeseries(input) creates a MATLAB timeseries object ts from the input signal input. input can be a sinestream, chirp, or random signal. For chirp and random signals, that time vector of ts has equally spaced time values, ranging from 0 to Ts(NumSamples-1).

Examples

Create timeseries object for chirp signal:

input = frest.Chirp('Amplitude',1e-3,'FreqRange',...
                    [10 500],'NumSamples',20000);
ts = generateTimeseries(input)

See Also

frest.Chirp | frest.Random | frest.Sinestream | frestimate

  


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