Skip to Main Content Skip to Search
Product Documentation

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

  


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