How to pass Options as an argument in quadprog

3 visualizaciones (últimos 30 días)
Yize Wang
Yize Wang el 20 de Ag. de 2019
Respondida: Stephen23 el 20 de Ag. de 2019
Dear all,
In MATLAB help, the quadprog() function can be used with either
  • x = quadprog(H,f)
  • x = quadprog(H,f,A,b,Aeq,beq,lb,ub,x0,options)
I would like to pass "options" as an argument without pass other arguments like "A,b,Aeq,beq,lb,ub,x0". Is it possible to call the function in a way like this "x = quadprog(H,f,options)"?
Thank you in advance.

Respuesta aceptada

Stephen23
Stephen23 el 20 de Ag. de 2019
x = quadprog(H,f,[],[],[],[],[],[],[],options)

Más respuestas (0)

Categorías

Más información sobre Assembly en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by