Documentation /  Analog Insydes /  Appendix /  Stimuli Sources /

PulseWaveSFFMWave

4.1.4 PWLWave

Command structure of PWLWave.

PWLWave returns a numerical value in case the first argument is numeric, otherwise a CheckedPWLWave is returned. If the last argument is not specified PWLWave returns an interpolating function object. CheckedPWLWave is a data type which marks a PWLWave description as being syntactically correct. CheckedPWLWave should not be defined directly.

A CheckedPWLWave can be displayed with standard Mathematica graphic functions such as Plot or with Analog Insydes graphic functions such as TransientPlot.

PWLWave has the following optional arguments:

Arguments of PWLWave.

Examples

Load Analog Insydes.

In[1]:= <<AnalogInsydes`

Select data pairs.

In[2]:= data = {{0.1, 0}, {0.5, 0}, {1, 1}, {1.5, 1},
{2, 0.5}, {2.5, 0.5}, {3, 0}};

Define piecewise linear source.

In[3]:= Vpwl1[t_] = PWLWave[t, data]

Out[3]=

Define repeated piecewise linear source.

In[4]:= Vpwl2[t_] = PWLWave[t, data, 0.5, 1]

Out[4]=

Display the signals.

In[5]:= TransientPlot[{Vpwl1[t], Vpwl2[t]}, {t, -1, 7}]

Out[5]=

PulseWaveSFFMWave