| |
| | Tutorial: Producing Lookup Table Data (Fixed-Point Blockset) |
 | | The error at any point of a function lookup table is the absolute value of the difference between the ideal function at the point and the corresponding Y value found by linearly interpolating between the adjacent breakpoints. |
 | | For example, if the ideal function is the square root, and the breakpoints of the lookup table are 0,.25 and 1, then in a perfect implementation of the lookup table, the worst case error is 1/8 =.125, which occurs at the point 1/16 =.0625. |
 | | The corresponding Y data points of the lookup table, which you find by taking the square roots of the breakpoints, are 0,.5 and 1. |
| www-rohan.sdsu.edu /doc/matlab/toolbox/fixpoint/c7_look3.html (351 words) |
|