I have multiple sensors of the same kind that measure tempearture. The temperature it returns is actually in a digital (byte) format. The manufacturer have provided us with a linear equation (with coefficients m and b) to convert the digital bytes sent by the sensor back into a real temperature value.
The coefficients m and b are provided by the manufacturer but we are allowed to adjust them to improve accuracy. We see that there is some error in the sensor measurement which is slightly different in each sample of the sensor. We have the real temperature value in the room with an expensive temperature sensor that we know is 100% correct.
Is there any easy and quick (to understand) optimisation technique that we can apply (preferably in Excel) where I can give it the error we see in each sample and it can provide me the best values of m and b that will minimise the error across all sensor samples?
The value of m and b has to be same for all samples, so we need a optimisation technique that can minimise the error across all samples with a single value for m and a single value for b.
If anyone could point me in the right direction on what optimisation technique I should investigate? We only need to run it once, so execution time isn't a problem.