plot of inverse laplace of a function
149 ビュー (過去 30 日間)
古いコメントを表示
Hi Guys
I am writing this code: but it doesn't plot, it gives me error.
Error using plot
Data must be numeric, datetime, duration or an array convertible to
double.
Error in test2 (line 43)
plot(t,h(t))
May every body know and inform me? Thanks
syms t
U=laplace(0.1*exp(2.44*t));
syms s
G=(s-2.44)/((s+5)*(s+6)*(s+7));
H=G*U;
t=1:0.01:100;
h(t)=ilaplace(H);
plot(t,h(t))
2 件のコメント
採用された回答
madhan ravi
2018 年 12 月 26 日
syms t s
U=laplace(0.1*exp(2.44*t));
G=(s-2.44)/((s+5)*(s+6)*(s+7));
H=G*U;
h=matlabFunction(ilaplace(H));
t=1:0.01:100;
plot(t,h(t))
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Assumptions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!