??? 04/01/07 03:39 Read: times |
#136354 - Lookup table and interpolation Responding to: ???'s previous message |
I agree with this approach, and also you can reduce the lookup table to a single quadrant,If you plot a sine wave out on some paper you can have a lookup table that has specific points that are of interest and creates a more linear interpolation between points.
Also once you can create an iterative process, until such point that you have homed (or is it honed) in on your target, making small adjustments each time. I have a table of about 20-25 relevant points in a quadrant. I also stored them as a byte with some bit shift offset in order to make them easier to handle. Marshall |
Topic | Author | Date |
calculate sine, cosine in an 8051 | 01/01/70 00:00 | |
A couple of options | 01/01/70 00:00 | |
let\'s play a game... | 01/01/70 00:00 | |
pin1 is a dead give away | 01/01/70 00:00 | |
its upto you but this is a sincos function | 01/01/70 00:00 | |
Jez ,what is EPS2 constant? | 01/01/70 00:00 | |
SDCC | 01/01/70 00:00 | |
looks impressive | 01/01/70 00:00 | |
Yes | 01/01/70 00:00 | |
Lookup table + interpolation. | 01/01/70 00:00 | |
Lookup table and interpolation![]() | 01/01/70 00:00 | |
Don't overlook the obvious | 01/01/70 00:00 | |
What Compiler? | 01/01/70 00:00 | |
The answer | 01/01/70 00:00 | |
More Coprocessors & Libraries | 01/01/70 00:00 | |
Obligatory | 01/01/70 00:00 | |
You're too late | 01/01/70 00:00 | |
OOps | 01/01/70 00:00 |