by prvc · 5y ago · 0 comments
How would these coefficients be derived in the first place?
If you want to play with this sort of thing and you have access to a copy of Matlab, check out Chebfun, https://www.chebfun.org/examples/approx/
+ 1/2 * sin(x * pi / 2)
+ 0.785313 * x - 0.321615 x^3 + 0.0363551 x^5
Now you just take the dot product of these new basis vectors with your target function.