MATLAB中非线性方程组求解!。

现在有两个非线性方程组
ax+by+cxy=d;
mx+ny+pxy=q;
a,b,c,d,m,n,p,q都是已知的数
请问matlab怎么求解x,y?

 Risposta accettata

yesok
yesok il 24 Nov 2022

0 voti

>> syms x y a b c d m n p q
>> [x,y] = solve(a*x+b*y+c*x*y-d, m*x+n*y+p*x*y-q)

Più risposte (0)

Tag

Richiesto:

il 24 Nov 2022

Risposto:

il 24 Nov 2022

Community Treasure Hunt

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

Start Hunting!