Estimate Margules model parameters using data regression
Mostra commenti meno recenti
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:

Risposte (0)
Categorie
Scopri di più su Linear Regression in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!