Trying to solve a differential equation

1 次查看(过去 30 天)
syms x(t)
Dx=diff(x);
x(t)=dsolve(3*diff(x,t,2)+2*diff(x,t)+108*x==Fmag,x(0)==0,Dx(0)==4)

采纳的回答

Star Strider
Star Strider 2021-4-13
Add ‘Fmag’ to the syms declaration to get —
.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Linear Algebra 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by