Programmatic polynomial fitting with mutliple measurements and known parameters
古いコメントを表示
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 (7x10). 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 (7x10) 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
3 件のコメント
Kevin Holst
2012 年 6 月 14 日
I really don't understand your explanation of how your data are fit into a 7x10 matrix, what they are representing, and how your manipulating them. Could you post and example of a 7x10 matrix?
Martin
2012 年 6 月 20 日
Martin
2012 年 6 月 22 日
採用された回答
その他の回答 (1 件)
John D'Errico
2012 年 6 月 20 日
1 投票
You have very little information here in terms of combinations of x1, x2, x3. Essentially you will be able to estimate no more than a linear model in those parameters. Do not try to go higher than that, although you do have sufficient information to try something more complex in x4.
カテゴリ
ヘルプ センター および File Exchange で Polynomials についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!