User`s guide
Getting Started with the DSP Blockset
1-11
•One-dimensional array, also called a 1-D vector
•1-by-N matrix, also called a row vector
•M-by-1 matrix, also called a column vector
The size or length of a vector, M for a column vector or N for a row vector, is the
number of elements that it contains. There is no MATLAB equivalent for a 1-D
Simulink vector (i.e., all MATLAB vectors have either a row or column
orientation), and most blocks in the DSP Blockset treat a 1-D vector as a
column vector.
Arrays. The number of pages, P, of a three-dimensional array in the MATLAB
workspace refers to the size of its third dimension
A(:,:,1) = [1 2 3;4 5 6] % The first page of a 3-page array
A(:,:,2) = [7 8 9;0 1 2] % The second page
A(:,:,3) = [3 4 5;6 7 8] % The last page
Array size is frequently denoted by the compact expression M-by-N-by-P or
M×N×P.
Frame-Based Signal Nomenclature
A frame of data is a collection of sequential samples from a single channel. In
Simulink, a length-M frame of data is represented by an M-by-1 matrix
(column vector). A multichannel signal with N channels and M samples per
frame is represented as an M-by-N matrix. See “Multichannel Signals” on
page 3-11 for more about multichannel signals.
Signals in Simulink can be either frame-based or sample-based. You can
typically specify the frame status (frame-based or sample-based) of any signal
that you generate using a source block (from the DSP Sources library). Most
other DSP blocks generally preserve the frame status of an input signal, but
some do not. See “Creating Signals” on page 3-33 for more information.
Sampling Nomenclature
Important sampling-related notational conventions are listed in “Sample Rates
and Frame Rates” on page 3-16.