28.1.167 SquareWaveMod

Function

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

Brief Description

Modified square wave function with duty cycle which is a periodic wave changing between two levels transitionally.

Sample Curve

SquareWaveMod.png

Parameters

Number: 5

Names: a, b, x0, duty, T

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

Lower Bounds: none

Upper Bounds: none

Script Access

nlf_SquareWaveMod(x,a,b,x0,duty,T)

Function File

FITFUNC/SquareWaveMod.FDF

Category

Waveform