Dear all,
I have following formula
and I want to put this on quadprog, but I dont know how to define H, f, A, b ?

 採用された回答

Matt J
Matt J 2021 年 5 月 14 日
編集済み: Matt J 2021 年 5 月 14 日

0 投票

That would be,
A=[]; b=[];
Aeq=[]; beq=[];
lb=zeros(1,numel(z));
and,

4 件のコメント

Soveatin Kuntur
Soveatin Kuntur 2021 年 5 月 14 日
and how to convert f and H to matlab ?
Matt J
Matt J 2021 年 5 月 14 日
編集済み: Matt J 2021 年 5 月 14 日
Using commands that you know very well:
H=z.' * y * y.' *z /2;
f=-ones(numel(z),1);
Soveatin Kuntur
Soveatin Kuntur 2021 年 5 月 14 日
thanks!
Matt J
Matt J 2021 年 5 月 14 日
You are quite welcome, but please Accept-click the answer to indicate that your question is resolved.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeQuadratic Programming and Cone Programming についてさらに検索

質問済み:

2021 年 5 月 14 日

コメント済み:

2021 年 5 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by