Re: Fixed point Vs Floating point
- From: Vladimir Vassilevsky <antispam_bogus@xxxxxxxxxxx>
- Date: Wed, 18 Jun 2008 10:58:29 -0500
John Larkin wrote:
On Wed, 18 Jun 2008 08:01:02 -0700 (PDT), MooseFET
<kensmith@xxxxxxxxx> wrote:
That's just an inefficient successive approximation to the
Write a bit of code:
Fill a table with all ones
loop:
save a copy of the table
randomly increment or decrement one element
best fit a sine to the new table
if the fit is better keep the new table
if NOT bored yet goto loop
already-known sine curve, which it will eventually exactly match. The
better way is to FFT every random iteration and see if it improves the
fundamental and minimizes harmonics.
The systematic approach to this problem is the noise shaping and the dithering. You can generate the table in the way so the junk will be either evenly spread around the spectrum or concentrated in the particular frequency band, whatever is required.
Vladimir Vassilevsky
DSP and Mixed Signal Design Consultant
http://www.abvolt.com
.
- Follow-Ups:
- Re: Fixed point Vs Floating point
- From: John Larkin
- Re: Fixed point Vs Floating point
- References:
- Re: Fixed point Vs Floating point
- From: skilambi
- Re: Fixed point Vs Floating point
- From: John Larkin
- Re: Fixed point Vs Floating point
- From: Phil Hobbs
- Re: Fixed point Vs Floating point
- From: Tim Wescott
- Re: Fixed point Vs Floating point
- From: Phil Hobbs
- Re: Fixed point Vs Floating point
- From: John Larkin
- Re: Fixed point Vs Floating point
- From: john
- Re: Fixed point Vs Floating point
- From: John Larkin
- Re: Fixed point Vs Floating point
- From: MooseFET
- Re: Fixed point Vs Floating point
- From: John Larkin
- Re: Fixed point Vs Floating point
- Prev by Date: Re: DT: Hollywood versus Los Allamos: You cannot call your Teraflop computer 'Road runner'.
- Next by Date: Re: DT: Hollywood versus Los Allamos: You cannot call your Teraflop computer 'Road runner'.
- Previous by thread: Re: Fixed point Vs Floating point
- Next by thread: Re: Fixed point Vs Floating point
- Index(es):
Relevant Pages
|