[Discuss-gnuradio] Re curve fitting

2005-12-23 Thread mike revnell
Pretty much any worthy math package like Matlab, Mathcad or my favorite Scilab will have a variety of facilities for this. As I recall from many years ago Mathcad has something that I believe was called linfit that was pretty easy to use. I haven't actually done this in a long time so I can't

[Discuss-gnuradio] ssb demod

2005-12-23 Thread mike revnell
I got my usrp last month and have been learning my way around gnuradio and wxpython. The attached tarball has a couple files which may be useful in examples. They implement ssb demod in the frequency translating FIR. It probably isn't the most efficient way to implement ssb but I think it is

Re: [Discuss-gnuradio] curve fitting data points

2005-12-23 Thread Robert McGwier
Perfect. Chuck Swiger wrote: Just thought while going to sleep last night, piecemeal linear or collecting several data points and doing linear interpolation betwen them should work fine. For (x1, y1) (x2, y2) (x3, y3) where x1 < x2 < x3 I can get slope m1 and y-intercept b1 between x1-x2,

Re: [Discuss-gnuradio] curve fitting data points

2005-12-23 Thread Chuck Swiger
At 07:06 AM 12/23/2005 -0500, Robert McGwier  wrote: If we know already, a priori, that the data is from a "smooth function", The phsical device has a smooth transfer curve ( MVAM109 capacitance / voltage ) and resonant frequency is a linear function of capitance ( f = 1 / ( 2 * pi * L * C  ) )

Re: [Discuss-gnuradio] curve fitting data points

2005-12-23 Thread Robert McGwier
Chuck, John: If we know already, a priori, that the data is from a "smooth function", that means (moving from left to right say), the extended line or the extended parabola from the last two or last three points respectively is always a very good predictor of the next point, then I would sugge

Re: [Discuss-gnuradio] curve fitting data points

2005-12-23 Thread John Aldridge
cswiger wrote: > This is for the mathematicians out there - what is a simple > working algorithm for creating a function model to fit an > arbitrary number of data points. You could try a least squares fitted polynomial http://mathworld.wolfram.com/LeastSquaresFittingPolynomial.html has a descri