Hide Table of Contents

Step

The STEP(a, x1, y1, x2, y2) function returns a smooth step function applied to an expression a for time or for a result. The smooth cubic function starts rising at (x1,y1) on the horizontal axis, and levels off at (x2,y2). Use this function in expressions for forces or motors.

Format

STEP(a, x1, y1, x2, y2)

Arguments

a Select any valid result from the list, or enter time.
x1 The point on the horizontal axis at which the step begins to rise.
y1 The value of the step function before the point x1.
x2 The point on the horizontal axis at which the step levels off.
y2 The value of the step function at the leveling off point x2.

Step Function Equation

The STEP function approximates the Heaviside step function with a cubic polynomial.

Function Definition
STEP (a, x1, y1, x2, y2) = y1 ; a ≤ x1
y1 + (x2 - x1) * z2·(3-2*z) ; x1< a < x2
y2 ; a ≥ x2
z = ((a - x1)/(x2 - x1))

Example

STEP(time, 1, 1, 2, 2) describes a smooth step function of time with the value 1 prior to 1 second. This function incorporates the cubic polynomial and levels off to the value 2 at 2 seconds.



Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   Step
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: SOLIDWORKS 2012 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.