MatrixNorm

This block computes the norm of its input matrix.

    MatrixNorm

Library

MatrixOperations

Description

The MatrixNorm block can compute 3 types of norm of input matrix.

1 norm: sum of the absolute values of vector, or maximum absolute column sum of the matrix.

2-norm: the length of vector, or largest singular value of matrix.

Inf-norm: largest absolute value of vector, or maximum absolute row sum of the matrix.

Frobenius-norm: (sometimes also called the Euclidean norm) defined as the square root of the sum of the squares of absolute value of its elements.

Parameters

MatrixNorm_0

NameLabelDescriptionData TypeValid Values

normtype

Norm type

Type of norm used in the computation. Default: 2-Norm.

String

'1-Norm'
'2-Norm'
'Inf-Norm'
'Frobenius-Norm'

externalActivation

External activation

Specifies whether the block receives an external activation or inherits its activation through its regular input ports. When External Activation is selected, an additional activation port is added to the block. By default, external activation is not selected.

Number

0
1

Ports

NameTypeDescriptionIO TypeNumber

Port 1

explicit

input

1

Port 2

explicit

output

1

Port 3

activation

input

externalActivation

Advanced Properties

NameValueDescription

always active

no

standard mode activated

direct-feedthrough

yes

zero-crossing

no

mode

no

continuous-time state

no

discrete-time state

no