From: Rachel2010 on
Hi all,

I have a few periods of a signal converted to an ASCII *.txt file that I
want to apply Autocorrelation & Burg Method to seperately and then plot the
frequency response for each. Does anyone have optimized C code or Java for
doing so. Thank you.


From: Steve Pope on
Rachel2010 <HUGHMOLONEY(a)GMAIL.COM> wrote:

> I have a few periods of a signal converted to an ASCII *.txt
> file that I want to apply Autocorrelation & Burg Method to
> seperately and then plot the frequency response for each. Does
> anyone have optimized C code or Java for doing so. Thank you.

Do you need to do this to exactly one dataset, or do you
need an ongoing capability to do this?

I do not think the popular open-source C++ DSP libraries have
everything you need out of the box. So it would take a few days
for an average designer to put this together. If you have
access to a MATLAB environment, and only need to process one
dataset, it can be done in a few hours.


Steve
From: Rachel2010 on
>Rachel2010 <HUGHMOLONEY(a)GMAIL.COM> wrote:
>
>> I have a few periods of a signal converted to an ASCII *.txt
>> file that I want to apply Autocorrelation & Burg Method to
>> seperately and then plot the frequency response for each. Does
>> anyone have optimized C code or Java for doing so. Thank you.
>
>Do you need to do this to exactly one dataset, or do you
>need an ongoing capability to do this?
>
>I do not think the popular open-source C++ DSP libraries have
>everything you need out of the box. So it would take a few days
>for an average designer to put this together. If you have
>access to a MATLAB environment, and only need to process one
>dataset, it can be done in a few hours.
>
>
>Steve
>

Hi Steve,
I just need to do this to one dataset and it has to be done in C/C++ or
Java. I thought there would be some sample code examples on here but
doesn't seem so.

Rachel
From: Clay on
On Mar 11, 8:55 am, "Rachel2010" <HUGHMOLO...(a)GMAIL.COM> wrote:
> Hi all,
>
> I have a few periods of a signal converted to an ASCII *.txt file that I
> want to apply Autocorrelation & Burg Method to seperately and then plot the
> frequency response for each. Does anyone have optimized C code or Java for
> doing so. Thank you.

The book "Numerical Recipes in C" does have a routine for Maximum
Entropy Method. The book (chapters at least) use to be on the web
available for free. Try looking here: http://www.nr.com/

IHTH,
Clay
From: Steve Pope on
Clay <clay(a)claysturner.com> wrote:

>On Mar 11, 8:55�am, "Rachel2010" <HUGHMOLO...(a)GMAIL.COM> wrote:

>> I have a few periods of a signal converted to an ASCII *.txt file that I
>> want to apply Autocorrelation & Burg Method to seperately and then plot the
>> frequency response for each. Does anyone have optimized C code or Java for
>> doing so. Thank you.

>The book "Numerical Recipes in C" does have a routine for Maximum
>Entropy Method. The book (chapters at least) use to be on the web
>available for free. Try looking here: http://www.nr.com/

I think the MEM is unrelated to Rachel's problem, although
I could be mistaken.

I assume the problem is to generate LPC coefficients by the
two different methods (autocorrelation followed by e.g.
Levinson-Durbin; or a lattice analyser using Burg arithmetic);
and to then compare the frequency response of the all-pole
filters generated by these two methods.

("Frequency response" possibly meaning the PSD of the
impulse response of these filters.)

Steve