help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: zero crossing determination in octave?


From: Jack Crenshaw
Subject: Re: zero crossing determination in octave?
Date: Fri, 05 Dec 2008 20:08:38 -0500
User-agent: Thunderbird 2.0.0.18 (Windows/20081105)

Carlo de Falco wrote:

On 05/dic/08, at 20:07, J. Patrick Bedell wrote:

Hello,
 Is there an octave function to compute (possibly using
interpolation) the points at which a given waveform crosses the x-axis
(or a specified threshold value)?
 Thanks!

 Patrick

Don't know whether this already exists but it seems to me it's trivial to implement,
see the attachment...
c.

------------------------------------------------------------------------

_______________________________________________
Help-octave mailing list
address@hidden
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
Um ... I think Patrick was looking for a function that would iterate on the solution. In Matlab, that's fzero. Your function is only a linear approximation, which might be Ok if the data array is dense, but otherwise, NG.

Jack


reply via email to

[Prev in Thread] Current Thread [Next in Thread]