MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Adding constraints to linear fit parameters of sep... 

Subject: Adding constraints to linear fit parameters of separable least squares fit From: Tazmusica Date: 19 Jul, 2009 17:37:02 Message: 1 of 3 
I was wondering if anyone can help me to figure out how to add equality and inequality constraints to the linear parts of a separable least squares fit. I saw fminspleas is able to do it for the nonlinear fit parameters (using transformations from a constrained problem to an unconstrained one), but not for the linear fit parameters. Here is my code for the separable least squares fit. Thanks. 
Subject: Adding constraints to linear fit parameters of separable least squares fit From: John D'Errico Date: 19 Jul, 2009 21:21:01 Message: 2 of 3 
"Tazmusica " <tazmusica2@deletethis.gmail.com> wrote in message <h3vlju$s5f$1@fred.mathworks.com>... 
Subject: Adding constraints to linear fit parameters of separable least squares fit From: Tazmusica Date: 21 Jul, 2009 15:45:03 Message: 3 of 3 
"John D'Errico" <woodchips@rochester.rr.com> wrote in message <h402nt$man$1@fred.mathworks.com>... 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.