Estimate Margules model parameters using data regression
显示 更早的评论
I am trying to construct a matrix of modeling functions and the right hand side by concatenating the two equations: Ln(gamma1) = [A12 + 2*(A21-A12)*x1]*x2^2 and Ln(gamma2) = [A21 + 2*(A12-A21)*x2]*x1^2. Then do regression to determine the fitting parameters and plot it up. In line 12 (x=k*y), I keep getting [NaN,NaN]' as my answer. Any suggestions to rectify this issue? I am attaching my solution and the original problem. Thanks!
My Code:

Original Problem:

回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Linear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!