Invalid indexing or function definition
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Walter Roberson
on 25 Nov 2020
I suspect that you accidentally created a variable named solve
0 Comments
See Also
Categories
Find more on Linear Algebra in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!