Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/28/07 20:53
Read: times


 
#136062 - Lookup table + interpolation.
Responding to: ???'s previous message
You don't need one table entry for each value you'll ever need. Make a table with a few hundred entries and interpolate between them.

A simple way would be linear interpolation, but if you want it more sophisticed, use an interpolation filter.

List of 18 messages in thread
TopicAuthorDate
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      

Back to Subject List