Skip to Main Content Skip to Search
Product Documentation

systest.signals.Signal - Collection of segments used to generate time-based data

Syntax

systest.signals.Signal('segment_type')

Description

systest.signals.Signal('segment_type') creates a signal with a segment of type segment_type.

The following properties can be used on the systest.signals.Signal function:

The following static functions can be used with the systest.signals.Signal function:

Examples

Create a signal with a Step segment followed by a Pulse.

systest.signals.Signal('Step', 'Pulse')

Create a signal with custom user data.

time = [0:.1:10]';
data = rand(length(time), 1);
systest.signals.Signal('Custom', {'Time', time, 'Data', data'}))

How To

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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