Compute 1norm of matrix
Math Functions / Matrices and Linear Algebra / Matrix Operations
dspmtrx3
The Matrix 1Norm block computes the 1norm, or maximum columnsum, of an MbyN input matrix, A.
$$y={\Vert A\Vert}_{1}=\underset{1\le j\le N}{\mathrm{max}}{\displaystyle \sum _{i=1}^{M}\left{a}_{ij}\right}$$
This is equivalent to
y = max(sum(abs(A))) % Equivalent MATLAB code
The block treats lengthM unoriented vector input as an Mby1 matrix. The output, y, is always a scalar.
The Matrix 1Norm block supports real and complex floatingpoint inputs, and real fixedpoint inputs.
The following diagram shows the data types used within the Matrix 1Norm block for fixedpoint 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 types pane of the Matrix 1Norm block dialog appears as follows.
Note: Floatingpoint 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 fixedpoint operations.
Select the overflow mode for fixedpoint operations.
Specify the accumulator data type. See FixedPoint 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
. For more information on this
rule, see 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 Specify Data Types Using Data Type Assistant (Simulink) for more information.
Specify the output data type. See FixedPoint 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 Control Signal Data Types (Simulink) for more information.
Specify the minimum value that the block should output. The
default value is []
(unspecified). Simulink^{®} software
uses this value to perform:
Simulation range checking (see Signal Ranges (Simulink))
Automatic scaling of fixedpoint data types
Specify the maximum value that the block should output. The
default value is []
(unspecified). Simulink software
uses this value to perform:
Simulation range checking (see Signal Ranges (Simulink))
Automatic scaling of fixedpoint data types
Select this parameter to prevent the fixedpoint tools from overriding the data types you specify on the block mask.
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  DSP System Toolbox 
Reciprocal Condition  DSP System Toolbox 
norm  MATLAB 