W
R
X
S
AVE
UNNER
I
ERIES
The next example calculates the ratio of the number of
data points that are above a given level to the number of
points below the level, in this case one half of the amplitude.
Further Examples of MATLAB Waveform Functions
Negate the input signal.
Square the input signal.
Create pulses from a sinusoid.
214
WRXi-OM-E Rev C