WOLFRAM SYSTEM MODELER

limitBySform

Returns a S-shaped transition

Wolfram Language

In[1]:=
SystemModel["PlanarMechanics.Utilities.Functions.limitBySform"]
Out[1]:=

Information

Syntax

y = Functions.limitBySform(x_min, x_max, y_min, y_max, x);

Description

A smooth transition between points (x_min, y_min) and (x_max, y_max). The transition is done in such a way that the 1st function's derivative is continuous for all x. The higher derivatives are, in contrast, discontinuous at input points.

The figure below shows the function y and its 1st derivative dy/dx for the following input: x_max = -0.4, x_min = 0.6, y_max = 1.4, y_min = 1.2.

Syntax

y = limitBySform(x_min, x_max, y_min, y_max, x)

Inputs (5)

x_min

Type: Real

Description: Abscissa for y_min

x_max

Type: Real

Description: Abscissa for y_max

y_min

Type: Real

Description: First value of y

y_max

Type: Real

Description: Second value of y

x

Type: Real

Description: Current abscissa value

Outputs (1)

y

Type: Real

Description: Current ordinate

Revisions

DLR logo Developed 2010 at the DLR Institute of System Dynamics and Control