Jump to content
Posted 16 December 2012 - 11:14 PM
Posted 17 December 2012 - 10:26 AM
Posted 19 December 2012 - 06:09 PM
Posted 04 January 2013 - 10:51 PM
Thanks guys. After much experimentation, the problem was with rounding errors. I have since switch to using a fixed point number representation for greater accuracy and have solved the issue, pretty much as AB suggested.
Also, Krypt0n you migh be right about the error introduced by incrementing xs and xe each iteration, I'll check it out.