| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Signal Processing Blockset |
| Contents | Index |
| Learn more about Signal Processing Blockset |
Math Functions / Matrices and Linear Algebra / Matrix Operations
dspmtrx3
The Matrix 1-Norm block computes the 1-norm, or maximum column-sum, of an M-by-N input matrix, A.

This is equivalent to
y = max(sum(abs(A))) % Equivalent MATLAB code

A length-M 1-D vector input is treated as an M-by-1 matrix. The output, y, is always a scalar.
The Matrix 1-Norm block supports real and complex floating-point inputs, and real fixed-point inputs.
The following diagram shows the data types used within the Matrix 1-Norm block for fixed-point signals.
![]()
The block calculations are all done in the accumulator data type until the max is performed. The result is then cast to the output data type. You can set the accumulator and output data types in the block dialog as discussed in Dialog Box below.
There are no parameters on the Main pane of this dialog.
The Data type attributespane of the Matrix 1-Norm block dialog appears as follows.

Note Floating-point inheritance takes precedence over the data type settings defined on this pane. When inputs are floating point, the block ignores these settings, and all internal data types are floating point. |
Select the rounding mode for fixed-point operations.
Select the overflow mode for fixed-point operations.
Specify the accumulator data type. See Fixed-Point Data Types for illustrations depicting the use of the accumulator data type in this block. You can set this parameter to:
A rule that inherits a data type, for example, Inherit: Inherit via internal rule
An expression that evaluates to a valid data type, for example, fixdt([],16,0)
Click the Show data type assistant button
to display the Data
Type Assistant, which helps you set the Accumulator
data type parameter.
See Using the Data Type Assistant for more information.
Specify the output data type. See Fixed-Point Data Types for illustrations depicting the use of the output data type in this block. You can set it to:
A rule that inherits a data type, for example, Inherit: Same as accumulator
An expression that evaluates to a valid data type, for example, fixdt([],16,0)
Click the Show data type assistant button
to display the Data
Type Assistant, which helps you set the Output
data type parameter.
See Specifying Block Output Data Types for more information.
Specify the minimum value that the block should output. The default value, [], is equivalent to -Inf. Simulink software uses this value to perform:
Simulation range checking (see Checking Signal Ranges)
Automatic scaling of fixed-point data types
Specify the maximum value that the block should output. The default value, [], is equivalent to Inf. Simulink software uses this value to perform:
Simulation range checking (see Checking Signal Ranges)
Automatic scaling of fixed-point data types
Select this parameter to prevent any fixed-point scaling you specify in this block mask from being overridden by the autoscaling tool in the Fixed-Point Tool.
Golub, G. H., and C. F. Van Loan. Matrix Computations. 3rd ed. Baltimore, MD: Johns Hopkins University Press, 1996.
| Port | Supported Data Types |
|---|---|
Input |
|
Output |
|
| Normalization | Signal Processing Blockset |
| Reciprocal Condition | Signal Processing Blockset |
| norm | MATLAB |
![]() | Magnitude FFT | Matrix Concatenate | ![]() |

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 |