Bias

The Bias block adds a constant to the input to produce the output.

    Bias

Library

MathOperations

Description

The Bias block adds a constant to the input to produce the output.

Output is computed as follows: y = u + Bias , where Bias is the block parameter.

The Bias can be a scalar or a matrix. If a matrix, its size must match the size of the block input.

Parameters

Bias_0

NameLabelDescriptionData TypeValid Values

b

Bias

The Bias is a real value.
The Bias can be a scalar or a matrix. If a matrix, its size must match the size of the block input.

Matrix

over

Do on overflow

String

'Nothing'
'Saturate'
'Error'

externalActivation

External Activation

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

direct-feedthrough

yes

zero-crossing

no

mode

no

continuous-time state

no

discrete-time state

no

See Also