SmoothStep

Smoothstep function y=S_n(x) of order n (polynomial of degree 2n+1)

    SmoothStep

Library

MathOperations

Parameters

SmoothStep_0

NameLabelDescriptionData TypeValid Values

order

Order

If the order is n, the polynomial degree will be 2n+1. Maximum acceptable order is 6.

Number

x0

The x value at which the Step function begins (x0)

Matrix

x1

The x value at which the Step function ends (x1)

Matrix

y0

The value of the Step function desired at x0

Matrix

y1

The value of the Step function desired at x1

Matrix

zcross

Zero-crossing

Select the check box to detect zero crossings.

Scalar

0
1

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

input

1

Port 3

activation

input

externalActivation