[Top][All Lists]

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

Re: [Discuss-gnuradio] max_streams problem in own module

From: T. Charles Clancy
Subject: Re: [Discuss-gnuradio] max_streams problem in own module
Date: Thu, 3 Mar 2005 13:01:13 -0500 (EST)

clancy> Cool, that seems to work.  Is there a derivative block?  Something
clancy> that takes float f(x) and returns float f'(x)?

A filter with taps [1, 0, -1] works "satisfactorily" as a differentiator. Try
this small program.

::Dusting off numerical analysis textbook...::

Indeed, that should work, though you might want to scale it by 1/2 depending on your application. In fact, considering the numeric nature of the calculation, unless you want to interpolate the polynomial and symbolically differentiate, there's not much else you can do. Using taps [1 -1] might give you more resolution, but would probably yield more jitter.

[ t. charles clancy ]--[ address@hidden ]--[ www.cs.umd.edu/~clancy ]
[ computer science ]-----[ university of maryland | college park ]

reply via email to

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