matlab解方程组问题,结果为什么带未知量?怎么办?matlab中输入[v1,i1,i2,i3]=solve('i1=(8-v1)/25000','i2=v1/(j*50e-6)','i3=v1/25000','i1=i2+i3');[v1,i1,i2,i3]结果为ans = [ .32000000000000000000000000000000e-3-1.*i3, .320000000000000
来源:学生作业帮助网 编辑:六六作业网 时间:2025/01/25 08:42:10
matlab解方程组问题,结果为什么带未知量?怎么办?matlab中输入[v1,i1,i2,i3]=solve('i1=(8-v1)/25000','i2=v1/(j*50e-6)','i3=v1/25000','i1=i2+i3');[v1,i1,i2,i3]结果为ans = [ .32000000000000000000000000000000e-3-1.*i3, .320000000000000
matlab解方程组问题,结果为什么带未知量?怎么办?
matlab中输入
[v1,i1,i2,i3]=solve('i1=(8-v1)/25000','i2=v1/(j*50e-6)','i3=v1/25000','i1=i2+i3');
[v1,i1,i2,i3]
结果为
ans =
[ .32000000000000000000000000000000e-3-1.*i3, .32000000000000000000000000000000e-3-2.*i3,
-1562500000000.*i3/(-1.+6250.*i3),
25000.*i3]
为什么?
matlab解方程组问题,结果为什么带未知量?怎么办?matlab中输入[v1,i1,i2,i3]=solve('i1=(8-v1)/25000','i2=v1/(j*50e-6)','i3=v1/25000','i1=i2+i3');[v1,i1,i2,i3]结果为ans = [ .32000000000000000000000000000000e-3-1.*i3, .320000000000000
你还是定义下符号变量吧
syms v1 i1 i2 i3
[v1,i1,i2,i3]=solve('i1=(8-v1)/25000','i2=v1/(j*50e-6)','i3=v1/25000','i1=i2+i3',v1,i1,i2,i3);
[v1,i1,i2,i3]