Multiple linear regression with constraint
Mostra commenti meno recenti
Hi,
I need some help with a code. I need to run a multiple linear regression for 4 variables (x1, x2, x3, x4) : y = a x1 + b x2 + c x3 + d x4 such that: b = 1 and c = ad
I know i need to use the lsqlin function but i don't really understand how it works.
Thanks for your help !
1 Commento
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Linear Least Squares 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!