Solution with parameter in SOLVE

1 回表示 (過去 30 日間)
Gian Lorenzo
Gian Lorenzo 2013 年 5 月 14 日
Solving this I get
%%Solve the system given by KKT conditions
S = solve(g1==0,g2==0,g3==0, cs1==0, x1, x2, x3, m1);
sol=[S.x1, S.x2, S.x3, S.m1]
Warning: The solutions are parametrized by the symbols:
z = C_
What does the C_ means? Is it just any constant or there are constraint on what value can z take?

回答 (1 件)

Walter Roberson
Walter Roberson 2013 年 5 月 15 日
Yes, any constant. The symbol would start with "R" for real-valued constants, and would start with "Z" for integer-valued constants.

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by