Matlab Temp Compensation

Thread Starter


Joined Oct 29, 2010
I need to compensate fuel pressure due to changes in temp of the fuel tank / fuel.

I have lots of data but am unable to hit on the complete picture to start coding. Currently the pressure and temp co-relate ~90%.

This is what I had in mind:

- find pressure eq (done with Matlab basic fitting)
- find temp eq (done with Matlab)
- Now temp and pressure are inversely related - temp rises pressure falls, I need to multiply the press data with such a function that as the temp inc pressure remains the same. (the pressure actually indicates volume - so as the temp changes volume should stay constant). I am unable to figure out should i normalize the temp data and then multiply it with the press data so that it remains essentially same.

Any help in approaching the problem would be much appreciated.

Data attached, extract and rename it as an .m



Last edited: