| 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 Fixed-point pane of the Matrix 1-Norm block dialog appears as follows.

Select the rounding mode for fixed-point operations.
Select the overflow mode for fixed-point operations.
Choose how you specify the word length and fraction length of the accumulator:
When you select Inherit via internal rule, the accumulator word length and fraction length are calculated automatically. For information about how the accumulator word and fraction lengths are calculated when an internal rule is used, see Inherit via Internal Rule.
When you select Same as input, these characteristics match those of the input to the block.
When you select Binary point scaling, you can enter the word length and the fraction length of the accumulator, in bits.
When you select Slope and bias scaling, you can enter the word length, in bits, and the slope of the accumulator. This block requires power-of-two slope and a bias of zero.
Choose how you specify the word length and fraction length of the output of the block:
When you select Same as input, these characteristics match those of the input to the block.
When you select Same as accumulator, these characteristics match those of the accumulator.
When you select Binary point scaling, you can enter the word length and the fraction length of the output, in bits.
When you select Slope and bias scaling, you can enter the word length, in bits, and the slope of the output. This block requires power-of-two slope and a bias of zero.
Select this parameter to prevent any fixed-point scaling you specify in this block mask from being overridden by the autoscaling feature of the Fixed-Point Tool. See the fxptdlg reference page for more information.
Golub, G. H., and C. F. Van Loan. Matrix Computations. 3rd ed. Baltimore, MD: Johns Hopkins University Press, 1996.
Double-precision floating point
Single-precision floating point
Fixed point (signed only)
8-, 16-, and 32-bit signed integers
| Normalization | Signal Processing Blockset |
| Reciprocal Condition | Signal Processing Blockset |
| norm | MATLAB |
![]() | Magnitude FFT | Matrix Concatenate | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |