フィルターのクリア

How to solve the elements are different between X0 and H in quadprog

4 ビュー (過去 30 日間)
Zekun Yang
Zekun Yang 2023 年 12 月 11 日
コメント済み: Zekun Yang 2023 年 12 月 11 日
In my Simulink model, the H[10x10],x_start[10x10], but
'The number of rows and columns in H must be the same as the number of elements of X0.'
"[X,~,exitflag]=quadprog(H,f,A_cons,b_cons,[],[],lb,ub,x_start,options)"

採用された回答

Walter Roberson
Walter Roberson 2023 年 12 月 11 日
The initial value parameter, x_start in this context, must be a vector .

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePartial Differential Equation Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by