You are not logged in.
login | register

Discussion: All Topics
Topic: quadratic programming


Post a new topic to the General Discussion discussion
<< see all messages in this topic
<previous message    


Subject:   RE: quadratic programming
Author: paal
Date: Jan 5 2010
On Feb  3 2009, AZIDA wrote:
> hi..i just want to know how to develop the quadratic programming in
> MATLAB software.

open editor:

write:

function [x1,x2]=quad(a,b,c)
x1=(-b+sqrt(b^2-4*a*c))/2*a
x2=(-b-sqrt(b^2-4*a*c))/2*a
end function

Reply to this message          Quote this message when replying?
yes  no
Post a new topic to the General Discussion discussion

Discussion Help