Invalid indexing or function definition
1 次查看(过去 30 天)
显示 更早的评论
syms y(t) s y_lt
dy=diff(y,t);
eqn = dy-y==2*cos(5*t)
cond=y(0)==0
eqnLt=laplace(eqn,t,s)
eqnLt = subs(eqnLt,laplace(y,t,s),y_lt)
y_lt=solve(eqnLt,y_lt)
ysol=ilaplace(y_lt)
Hi, I get this error with the solve function, does anyone know why the error?
2 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Algebra 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!