Power

This block implements the to-the-power-of operation. The parameter of the block gives to the parameter, a, the-power-of a, which is applied to every entry of the input to produce the corresponding output.

    Power

Library

MathOperations

Description

The Power block implements the to-the-power-of operation. The parameter of the block gives to the parameter, a, the power of a, which is applied to every entry of the input to produce the corresponding output.

Inputs can be either real or complex.

Inputs are either scalar, or vector or matrix.

Parameters

Power_0

NameLabelDescriptionData TypeValid Values

power

To the power of

Exponent of the power operation.

Matrix

ptype

Do on overflow

Flag indicating that no specific action is be taken if an integer overflow occurs. Default: 'nothing'

String

'Nothing'
'Saturate'
'Error'

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

direct-feedthrough

yes

zero-crossing

no

mode

no

continuous-time state

no

discrete-time state

no