# Example: Define a Sine Wave Pulse

Define a sine wave pulse with a delay of 0.3 ns and a duration of 0.5 ns.

## Define Step(t) = 1 for t > 0.3 ns

On the Create time signal dialog, in the f(t) field, add the following to define a step function with a delay of 0.3 ns:

(1) $f\left(t\right)=step\left(t-300e-12\right)$

## Define a Rectangular Pulse

In the f(t) field, define a rectangular pulse with a duration of 0.5 ns by extending Equation 1 to:

(2) $f\left(t\right)=step\left(t-300e-12\right)-step\left(t-800e-12\right)$

## Define a Sine Wave Pulse

• In the f(t) field, define a sine wave pulse with a delay of 0.3 ns and a duration of 0.5 ns by extending Equation 2 to:
(3) $f\left(t\right)=\left(step\left(t-300e-12\right)-step\left(t-800e-12\right)\right)*\mathrm{sin}\left(2*3.14*\left(t\right)*7e9\right)$
Note: Predefined variables are not supported. Use a value of 3.14 instead of pi.
Note: Equation 3 and Figure 3 correspond to a modulated step signal at 7e9 GHz.
• Add a delay of 0.3 ns to the sine wave by extending Equation 3 to:
(4) $f\left(t\right)=\left(step\left(t-300e-12\right)-step\left(t-800e-12\right)\right)\ast \mathrm{sin}\left(2*3.14*\left(t-300e-12\right)*7e9\right)$