I am not new to Matlab, but very new to polynomial modelling of data. I have a set of measurements for observed solubility with specific parameters being changed. There are four parameters that can be experimentally varied.
I have made measurements with 7 different possible values for 3 of the 4 parameters and 10 possible values for the remaining 1 parameter. Therefore my response variable data is a matrix of 70 values (7×10). corresponding to the 10 values for parameter x4 with different values for parameters x1,x2,x3.
Here is what the data looks like:
x1: 1.92683450920000 1.82794091830000 2.01642468230000 1.75600069780000 1.75466924060000 1.83419721490000 1.84217366130000
x2: 275 160 26 76 30 133 107
x3: 0 22 42 40 67 80 100
x4: 100 90 80 70 60 50 40 30 20 10
The responses (7×10) correspond to an experimental condition where the row index is the value from x1,x2,x3,and the column index is the value of x4 used. For practical reasons exhaustive parameter isolation is not possible.
Seems like a simple regression problem, but I can't quite get matlab and polyfit, also tried the polyfitn function to stop complaining about the asymmetry of x variables.
The objective is to determine if (and which) polynomial model best fits the data and describes the reaction.
Any help would be greatly appreciated.
–m
Best Answer