MATLAB: Regression method (in matlab)

pressureregression method

Hi
I have two curves , one is measured one is calculated from cylinder. They are all angle dependent.
Angle->Pressure
Would you offer any matlab function that I calculate the regression with these two datas.
I am searching the qaulity of simulation regarding to measurement? The matrixes are like that
The Matrix A is (measured)
Angle Pressure
----- ------
1 3,35000000000000
2 3,33000000000000
3 3,31000000000000
4 3,35000000000000
5 3,31000000000000
....
the Matrix B (simulated)
Angle Pressure
----- --------
1 3,12302310000000
2 3,10574540000000
3 3,08854990000000
4 3,07221170000000
5 3,05751980000000
Best Regards.

Best Answer

Have you looked at polyfit()?
Related Question