Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



Re: optimization: using quadprog
Posted:
Oct 11, 2005 3:59 PM


Quadprog requires real inputs.
Assuming the problem is well defined using complex data, you might be able to decompose it and solve for the real and imaginary parts, along the lines of this technical solution: http://www.mathworks.com/support/solutions/data/11C92G.html?solution=11C92G
just_me wrote: > Hi, > > I am using the quadprog function of matlab > > X=QUADPROG(H,f,A,b,Aeq,beq) > > as follows: > > quadprog(2*Qk,[],[],[],p,1); > > p is just a complex row vector. > Matlab has problem with this vector being complex. > Does someone know how to solve this? > > Thx in advance, > Kosta



