curious_mind
Full Member level 4
I was referring to link http://www.ganssle.com/item/approximations-for-trig-c-code.htm for referring to code for sine/cosine approx.
In the article the domain for evaluating cosine/sine is 0 to pi/2. Can we change the domain from 0 to 0.125 instead for quarter cycle? Purpose is to make the domain from 0 to 2*pi to 0 to 1 so that it eases out fixed point conversion. How can we recalculate the coefficients if the domain is changed?
In the article the domain for evaluating cosine/sine is 0 to pi/2. Can we change the domain from 0 to 0.125 instead for quarter cycle? Purpose is to make the domain from 0 to 2*pi to 0 to 1 so that it eases out fixed point conversion. How can we recalculate the coefficients if the domain is changed?