We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hello everyone,
I just want to know if someone has any idea about look up table technique for sine or cosine function using keil simulator. I need to implement it in to my progam. I just want some basic idea. or if someone has good material then let me know.
I am using fixed point dsp Xc164Cs
thank you Vivek
What do you mean by "Need accuracy about 2 decimal after the point"?
Do you have an angle in degrees and the angle having two decimals, i.e. 0.00 to 359.99 degrees?
Or is your requirements that the answer from the sin lookup must be -1.00 to 1.00 with a maximum error of +/- 0.005?
I not only have an idea, I also suggested a specific solution. If you want maximum speed, i.e. single lookup without interpolation, you need a denser LUT than I suggested.
If you use linear interpolation, you can decrease the density of the LUT and for example store a lookup value for every 5 degrees.
hi
My requirement is the sine angle is in degrees i.e. 0.00 degree to 359.99 degree