怎么用Matlab解二元一次方程组的数值解

2024-11-28 02:28:16
推荐回答(1个)
回答1:

只说a,b,c,d,h,N为已知量,又不给出具体值
我随便取了一组值,你看看吧:
clear all;clc;
syms a b c d h N
[x,y] = solve('1+y*d*(x-1)/(6.283*b*a*(2*x+1))=y','(x-1)*b-N*h*y*(d+y*c)=0','x','y');
x=subs(x,{a,b,c,d,h,N},{1,2,3,4,5,6})
y=subs(y,{a,b,c,d,h,N},{1,2,3,4,5,6})