Error in optimization using fmincon
Show older comments
1. Error : Not enough input arguments.
Error in fun (line 4) y = a1*Lh^2*x(1)^2 + b1*Lh*x(1) + a2*Lh^2*x(2)^2 + b2*Lh*x(2) + a3*Lh^2*x(3)^2 + b3*Lh*x(3);
2. Aeq must have one column.
If someone knows please help me out. Thank You.
3 Comments
Matt J
on 25 Jun 2018
Please give a full explanation of the problem and copy/pastes of what you are seeing, rather than bullet point.
NIKET shah
on 25 Jun 2018
Edited: Matt J
on 25 Jun 2018
Matt J
on 25 Jun 2018
Looks like you fixed it!
Answers (0)
Categories
Find more on Solver Outputs and Iterative Display in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!