views:

30

answers:

0

Hello,

I have the following equation:

P = c0 + c1 * T + c2 * T^2 + c3 * H + c4 * H^2 + c5 * T * H

and I have hundreds of data for P, T and H

How can I find the constants c0,c1 ......c5

by least square method in MATLAB 7.0

Thanks

any help is highly appreciated

best regards