30.1.166 SquareWave

Function

y=\begin{cases}
a,\ \ x_0+nT<x<x_0+\left(n+\frac{1}{2} \right )T,\ n\in Z\\
b,\ \ x_0+\left(n+\frac{1}{2} \right )T <x<x_0+\left(n+1 \right )T,\ n\in Z
\end{cases}

Brief Description

Square wave function which is a periodic wave changing between two levels transitionally.

Sample Curve

SquareWave.png

Parameters

Number: 4

Names: a, b, x0, T

Meanings: a = High-level, b = Low-level, x0 = X start, T = Period

Lower Bounds: none

Upper Bounds: none

Script Access

nlf_SquareWave(x,a,b,x0,T)

Function File

FITFUNC/SquareWave.FDF

Category

Waveform