cos_pulse()

Returns the periodic cosine shaped pulse value at time, as a real number

Syntax
cos_pulse(time, Low, High, Delay, Rise, Fall, Width, Period)

Arguments
Name Description Range Type Default Required
time program time variable [0, ∞) real yes
Low initial value (-∞, ∞) real 0 no
High peak value (-∞, ∞) real 1 no
Delay delay time [0, ∞) real 0 no
Rise rise time [0, ∞) real Tstep † no
Fall fall time [0, ∞) real Tstep † no
Width pulse width (0, ∞) real Tstop † † no
Period pulse period [Width+Rise+Fall, ∞) real Tstop † † no
† Where Tstep is Transient MaxTimeStep or Envelope Step † † Where Tstop is StopTime or Envelope Stop

Examples

This example assumes that a transient simulation is performed using:
StartTime = 0, StopTime = 3ns, MaxTimeStep = 50ps

  1. This expression creates cosine-shaped pulses, repeating periodically, at every 400ps up to 3ns:
    Vcos = cos_pulse(time, 0, 2, 0, 100ps, 100ps, 200ps, 400ps)
  2. This expression creates a single cosine-shaped pulse using default values for the arguments not listed in the function:
    Vcos_default = cos_pulse(time)
    Low=0, High=1, Delay=0, Rise=50ps, Fall=50ps, Width=3ns, Period=3ns

See Also

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

Notes/Equations

This expression can be used to create a current or voltage cosine-shaped pulse using the ItUserDef or VtUserDef time domain sources. Alternately, the built-in time domain current or voltage source component, ItPulse or VtPulse can be used and setting Edge=cosine.

The slope change is not abrupt and its frequency spectrum decreases more rapidly. The rise and fall time define the total transition period and the maximum slope is greater than (High-Low)/Rise.
The output value is calculated as follows:


The cos_pulse() Function
 

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

Contents
Additional Resources