Products & Services Solutions Academia Support User Community Company

Learn more about Communications Blockset   

Signal Support

Section Overview

Simulink supports matrix signals and one-dimensional arrays, and frame-based and sample-based signals. This section describes how Communications Blockset processes certain kinds of matrix and frame-based signals.

Signal Terminology

This section defines important terms related to matrix and frame-based signals.

Matrices, Vectors, and Scalars

This document uses the unqualified words scalar and vector in ways that emphasize a signal's number of elements, not its strict dimension properties:

In cases when it is important for a description or schematic to distinguish among different types of scalar signals or different types of vector signals, this document mentions the distinctions explicitly. For example, the terms one-dimensional array, column vector, and row vector distinguish among three types of vector signals.

The size of a matrix is the pair of numbers that indicate how many rows and columns the matrix has. The orientation of a two-dimensional vector is its status as either a row vector or column vector. A one-dimensional array has no orientation.

A matrix signal that has more than one row and more than one column is called a full matrix signal.

Frame-Based and Sample-Based Signals

In Simulink, each matrix signal has a frame attribute that declares the signal to be either frame-based or sample-based, but not both. (A one-dimensional array signal is always sample-based, by definition.) Simulink indicates the frame attribute visually by using a double connector line in the model window instead of a single connector line. In general, Simulink interprets frame-based and sample-based signals as follows:

Processing Matrices, Vectors, and Scalars

These rules indicate the shapes of sample-based signals that Communications Blockset blocks can process:

To find out whether a block processes scalar signals, vector signals, or both, refer to its entry in the reference section.

Illustrations of Scalar and Vector Processing

The figures below depict the preservation of dimension and orientation when a block processes scalars (without oversampling) and vectors. To display signal dimensions in your model, turn on the Signal dimensions option in the Port/signal displays submenu of the model window's Format menu.

Processing Frame-Based and Sample-Based Signals

All one-dimensional arrays are sample-based, but a matrix signal can be either frame-based or sample-based. A frame-based signal in the shape of an N-by-1 matrix represents a series of N successive samples from a single time series. Communications Blockset processes some frame-based signals and is compatible with Signal Processing Blockset. However, Communications Blockset omits some frame-based features, and many blocks are not specifically optimized for frame-based processing.

These rules indicate how most Communications Blockset blocks handle frame-based matrix signals:

  


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