zerocrossing
Calling Sequence
r = zerocrossing (w, y)
Parameters
r:
zero crossing points
y:
function y=y(x)...the dependant variable
x:
the independant variable
Description
This function estimates the points at which a given waveform y = y(w) crosses the x-axis. It uses linear interpolation.
Examples