'quadprog' getting empty output , how to rectify?

1 view (last 30 days)
aaa=[0.0014 0 0 0;0 0.0006 0 0;0 0 0.0040 0;0 0 0 0.0016];
>> bbb=[16.1900 17.2600 16.6000 27.7400];
>> ccc=[1 1 1 1];
>> ddd=1000.6;
>> eee=[150.000 238.0534 20.000 25.000];
>> fff=[455.000 283.0534 130.000 85.000];
>> ggg=[302.500 260.5534 75.000 55.000];
>> options=optimset('LargeScale','off','MaxPCGIter',50,'PrecondBandWidth',inf);
>> [sss,ooo]=quadprog(aaa,bbb,[],[],ccc,ddd,eee,fff,ggg,options);
i getting sss=[] and ooo=[] why?

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Products


Release

R2016a

Community Treasure Hunt

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

Start Hunting!