| Discussion: | All Topics |
| Topic: | quadratic programming |
| Post a new topic to the General Discussion discussion |
| ||||||||
| Subject: | RE: quadratic programming |
| Author: | paal |
| Date: | Jan 5 2010 |
> 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
| |||||||
| Post a new topic to the General Discussion discussion | |||||||