rect()

Rectangular pulse function

Syntax
rect(x0, tc, td)

Name Description Range Type Required
x0 program time or freq variable [0, ∞) real yes
tc center time (-∞, ∞) real yes
td duration (-∞, ∞) real yes

Examples

This example assumes that a transient simulation is performed using:
StartTime = 0, StopTime = 400ps, MaxTimeStep = 1ps
This expression produces a rectangular pulse:
value = rect(time, 100ps, 100ps)

See Also

cos_pulse(), damped_sin(), erf_pulse(), exp_pulse(), pulse(), pwl(), pwlr(), ramp()

Notes/Equations

The function rect() creates a rectangular pulse of variable Time centered at time tc with duration td. It can be used to create a current or voltage rectangular pulse using the ItUserDef or VtUserDef time domain sources. Alternately it can be used in other expressions.
The output is calculated as follows:
For td > 0:

For td< 0:

The rect() Function
 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources