Pow

This block implements the pow(u1,u2) function applied to each entry of input matrices to produce the corresponding output. The pow(u1,u2) function calculates u1 to the power u2. Mixed matrix/scalar input is allowed.

    Pow

Library

Activate/MathOperations

Description

The Pow block computes the value obtained by raising the first input to the power of the second input.

The Pow(u1,u2) function calculates u1 to the power u2.

Parameters

Pow_0

NameLabelDescriptionData TypeValid Values

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

output

1

Port 2

explicit

The base value (u1).

input

1

Port 3

explicit

The power value (u2).

input

2

Port 4

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