MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Quadratic Cost Function x^T Q x 

Hello, 
"Jason" <jf203@ic.ac.uk> wrote in message <ht3lnt$92i$1@fred.mathworks.com>... 
"Matt J " <mattjacREMOVE@THISieee.spam> wrote in message <ht3oj8$gpr$1@fred.mathworks.com>... 
"Jason" <jf203@ic.ac.uk> wrote in message <ht3tl0$mbi$1@fred.mathworks.com>... 
Subject: Quadratic Cost Function x^T Q x From: Roger Stafford Date: 20 May, 2010 18:44:05 Message: 5 of 39 
"Jason" <jf203@ic.ac.uk> wrote in message <ht3tl0$mbi$1@fred.mathworks.com>... 
"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <ht3vtl$o1d$1@fred.mathworks.com>... 
"Jason" <jf203@ic.ac.uk> wrote in message <ht41ak$at$1@fred.mathworks.com>... 
Subject: Quadratic Cost Function x^T Q x From: Roger Stafford Date: 20 May, 2010 19:33:04 Message: 8 of 39 
"Jason" <jf203@ic.ac.uk> wrote in message <ht41ak$at$1@fred.mathworks.com>... 
"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <ht42pg$8he$1@fred.mathworks.com>... 
"Jason" <jf203@ic.ac.uk> wrote in message <ht495s$eq2$1@fred.mathworks.com>... 
"Matt J " <mattjacREMOVE@THISieee.spam> wrote in message <ht4al2$jcc$1@fred.mathworks.com>... 
"Jason" <jf203@ic.ac.uk> wrote in message <ht4bq9$4t9$1@fred.mathworks.com>... 
> You mean x is a vector of homogeneous coordinates!?! 
I have given this some thought, I don't think polyfit is applicable for my purposes. 
"Jason" <jf203@ic.ac.uk> wrote in message <ht4feg$q4b$1@fred.mathworks.com>... 
"Matt J " <mattjacREMOVE@THISieee.spam> wrote in message <ht4urj$p85$1@fred.mathworks.com>... 
Subject: Quadratic Cost Function x^T Q x From: Bruno Luong Date: 21 May, 2010 05:55:22 Message: 17 of 39 
"Jason" <jf203@ic.ac.uk> wrote in message <ht4bq9$4t9$1@fred.mathworks.com>... 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <ht578a$n72$1@fred.mathworks.com>... 
Subject: Quadratic Cost Function x^T Q x From: Bruno Luong Date: 21 May, 2010 11:09:04 Message: 19 of 39 
"Matt J " <mattjacREMOVE@THISieee.spam> wrote in message <ht5ngv$mot$1@fred.mathworks.com>... 
Subject: Quadratic Cost Function x^T Q x From: Bruno Luong Date: 21 May, 2010 11:23:05 Message: 20 of 39 
Well, actually I'm confused. The reason I think it's quadratic because I quote (from OP): 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <ht5qeo$26u$1@fred.mathworks.com>... 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <ht5qeo$26u$1@fred.mathworks.com>... 
Subject: Quadratic Cost Function x^T Q x From: Bruno Luong Date: 21 May, 2010 12:24:04 Message: 23 of 39 
"Jason" <jf203@ic.ac.uk> wrote in message <ht5si9$ipb$1@fred.mathworks.com>... 
Subject: Quadratic Cost Function x^T Q x From: Bruno Luong Date: 21 May, 2010 12:28:06 Message: 24 of 39 
"Matt J " <mattjacREMOVE@THISieee.spam> wrote in message <ht5spo$4oc$1@fred.mathworks.com>... 
Subject: Quadratic Cost Function x^T Q x From: Bruno Luong Date: 21 May, 2010 12:40:20 Message: 25 of 39 
Sorry for the typo, *QUARTIC* and not QUADRIC 
"Jason" <jf203@ic.ac.uk> wrote in message <ht5si9$ipb$1@fred.mathworks.com>... 
"Matt J " <mattjacREMOVE@THISieee.spam> wrote in message <ht624t$p6b$1@fred.mathworks.com>... 
"Jason" <jf203@ic.ac.uk> wrote in message <ht68q6$mcu$1@fred.mathworks.com>... 
"Matt J " <mattjacREMOVE@THISieee.spam> wrote in message <ht8tug$sjj$1@fred.mathworks.com>... 
"Jason" <jf203@ic.ac.uk> wrote in message <ht9q4c$jbj$1@fred.mathworks.com>... 
I seem to have hit a brickwall, when I initially thought the problem was solved. 
"Jason" <jf203@ic.ac.uk> wrote in message <i225sp$gej$1@fred.mathworks.com>... 
"Matt J " <mattjacREMOVE@THISieee.spam> wrote in message <i22bs1$bsh$1@fred.mathworks.com>... 
No, you cannot approach the problem by combining all the Q{i} into one matrix. The problem as we've posed it is to minimize, 
"Jason" <jf203@ic.ac.uk> wrote in message <i22ek6$90o$1@fred.mathworks.com>... 
"Matt J " <mattjacREMOVE@THISieee.spam> wrote in message <i24dt5$3op$1@fred.mathworks.com>... 
"Jason" <jf203@ic.ac.uk> wrote in message <i26sfh$spl$1@fred.mathworks.com>... 
"Matt J " <mattjacREMOVE@THISieee.spam> wrote in message <i26t60$f5i$1@fred.mathworks.com>... 
"Jason" <jf203@ic.ac.uk> wrote in message <i26u5t$jk6$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.