This code that I have tried always shows an error, I have seen that it works on youtube but not for me. It say "Error using sym>convertChar (line 1546)"
古いコメントを表示
syms x t s X F
F=laplace('diff(x(t),t,t)+7*diff(x(t),t)+10*x(t)=20',s);
F=subs(F,{'laplace(x(t),t,s)'},{X});
F=subs(F,{'x(0)','D(x)(0)'},{5,3});
X=solve(F,'X');
x=ilaplace(X);
pretty(x);
ezplot(x,[0 10]);
2 件のコメント
Image Analyst
2021 年 8 月 1 日
Do you have the Symbolic Toolbox?
>> ver
Vincent Benet Dela Rosa
2021 年 8 月 1 日
回答 (1 件)
Ananya Tewari
2021 年 8 月 4 日
0 投票
カテゴリ
ヘルプ センター および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!