matlab中求微分方程组通解

2024-12-12 08:25:08
推荐回答(1个)
回答1:

此题有误,两个方程的左侧应是dx/dt,dy/dt
[x y]=dsolve('Dx=4*x-2*y', 'Dy=2*x-y','t')
x =
2*C2*exp(3*t)+1/2*C1
y =
C1+C2*exp(3*t)
[x y]=dsolve('Dy=4*x-2*y', 'Dx=2*x-y','t')
x =
1/4*C1+1/2*C1*t+1/2*C2
y =
C1*t+C2