zero crossing determination in octave?

Carlo de Falco carlo.defalco at gmail.com
Fri Dec 5 16:47:28 CST 2008


On 05/dic/08, at 22:37, 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.
well...
even a trivial function can contain mistakes ;)
fix attached,
c.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: zerocrossing.m
Type: application/octet-stream
Size: 2376 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20081205/7026d181/attachment.obj 
-------------- next part --------------



More information about the Help-octave mailing list