<< sawtooth FOSSEE Signal Processing Toolbox schurrc >>

FOSSEE Signal Processing Toolbox >> FOSSEE Signal Processing Toolbox > schtrig

schtrig

This function implements a multisignal Schmitt triggers with lev levels supplied as input.

Calling Sequence

v = schtrig (x, lev)
v = schtrig (x, lev, rs)

Parameters

x:

vector or matrix of real numbers

lev:

real number

rs:

default value 1

Description

This is an Octave function. This function implements a multisignal Schmitt triggers with lev levels supplied as input. The argument 1 is a matrix (or a vector) and this trigger works along its first dimension.

Examples

schtrig([0.2,-3,5],-4)
ans  =
0.    0.    1.

Report an issue
<< sawtooth FOSSEE Signal Processing Toolbox schurrc >>