Problem/question with regression
古いコメントを表示
Hi folks,
I have the following data:
Reflectance R G B
7.51 109 54 124
3.17 57 30 63
1.24 30 17 31
I am trying to get a relationship for reflectance based on the R, G and B values. Doing this using simultaneous equations yields the following coefficients:
0.452923977
-0.538011696
-0.103274854
which is problematic because it gives me negative values for fomr RGB values, which is incorrect. So I tried to regress the table above in Matlab's curve fitting app, but it doesn't let me as the matrix dimensions aren't compatible.
Is there a way to get around this problem and regress the data?
Thanks
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Linear and Nonlinear Regression についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
