Quote:
Originally Posted by JamesTerm
This is awesome!! I hope someone would be kind enough to explain how you made the equations for the linearizaton of the victor. I mean sure I could use this, but I'd rather know how to do something like this as I've needed to do it in the past professionally and had to use wxMaxima to hammer out something close. I've googled around, but I just haven't found anything that spells it out step by step (e.g. curve fitting). I was going to hit Ether up on this in his equations, but I'm here now. 
|
You can do curve fitting in Excel (or OpenOffice or LibreOffice) using the "trendline" function.
See
this Excel spreadsheet.
Chart 1 shows the test data (A1:B20) plotted with the joystick command on the X axis and the actual Vic output on the Y axis.
Chart 2 is the inverse of Chart 1 and shows the actual Vic output on the X axis and the joystick command on the Y axis.
Chart 3 shows a 3rd degree polynomial trendline added to Chart 2. The polynomial can be used to linearize the Vic's output.