05-24-2020, 09:06 PM
Hi,
That is some good stuff. I've made something similar but only for the sinus. I was using only 8 bit integer to map the sinus signal. The input is given in ° instead of radian (wich we are more familiar with). This is the precision I had using the given formula (in the picture) :
I have only taken the 2 first term of the Taylor series of the sinus. It explained why it is so unaccurate after 80° ...
Do you have a graph like mine that show the error ? Because I use 8 bit to represent the sin(x), I have always a big error when the sine curve get flat (around x=90°). I don't have enough bit to represent the diffrence between sin(87°) and sin(90°). Both equal to 255...
That is some good stuff. I've made something similar but only for the sinus. I was using only 8 bit integer to map the sinus signal. The input is given in ° instead of radian (wich we are more familiar with). This is the precision I had using the given formula (in the picture) :
I have only taken the 2 first term of the Taylor series of the sinus. It explained why it is so unaccurate after 80° ...
Do you have a graph like mine that show the error ? Because I use 8 bit to represent the sin(x), I have always a big error when the sine curve get flat (around x=90°). I don't have enough bit to represent the diffrence between sin(87°) and sin(90°). Both equal to 255...