I have an equation with three variables, so I will have infinite^2 solutions. Is there a way Matlab can show the solutions set given some constraints on the variables?
The equation is: G = 1.5(X-X^2) + (Y-Y^2) + 0.5(Z-Z^2) - 2*XY - Z(X+Y)/ 2N(1 - 0.75X - 0.5Y - 0.25Z),
where N & G are known and X,Y,Z lie in (0,1).
Is there any way to see the integer solutions of this equation?
Thank you very much for your help!

 採用された回答

Torsten
Torsten 2018 年 6 月 14 日

0 投票

https://de.mathworks.com/help/matlab/ref/fimplicit3.html
Best wishes
Torsten.

2 件のコメント

martina testori
martina testori 2018 年 6 月 14 日
編集済み: martina testori 2018 年 6 月 14 日
Thank you very much, Torsten.
Is there any way to access the values, so that I can find some numerical solutions?
Also, is there a solver for a 4 variables equations?
Torsten
Torsten 2018 年 6 月 14 日
Fix values for G,N,X and Y and use "fzero" to calculate the corresponding Z from the function
fun=@(Z) 1.5*(X-X.^2) + (Y-Y.^2) + 0.5*(Z-Z.^2) - 2*X.*Y - Z.*(X+Y)./ (2*N*(1 - 0.75*X - 0.5*Y - 0.25*Z))-G;
Best wishes
Torsten.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMathematics についてさらに検索

質問済み:

2018 年 6 月 14 日

コメント済み:

2018 年 6 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by