Plotting inverse laplace w.r.t.

1 回表示 (過去 30 日間)
Yash Kulkarni
Yash Kulkarni 2019 年 6 月 21 日
コメント済み: Vishnu Vardhan 2019 年 6 月 21 日
How can I plot inverse laplace of a fucntion which contains exponential and hyperbolic functions on Matlab? like
(0.2696)/(s-0.1384*(s^1)*((exp(1.2468*s)+exp(-1.2468*s))/((exp(1.2468*s)-exp(-1.2468*s)))))

回答 (1 件)

Vishnu Vardhan
Vishnu Vardhan 2019 年 6 月 21 日
Hi Yash
You can use ilaplace function to compute the inverse laplace of H as shown below.
h=matlabFunction(ilaplace(H));
t=1:0.01:100;
plot(t,h(t))
  2 件のコメント
Yash Kulkarni
Yash Kulkarni 2019 年 6 月 21 日
Hi Vishnu,
ilaplace wroks only for simple functions. In this case it throws back to me the orginal function.
Vishnu Vardhan
Vishnu Vardhan 2019 年 6 月 21 日
From the documentation page it looks like the inputs can be symbolic expression | symbolic function | symbolic vector | symbolic matrix and also given that if it cannot compute the inverse then it returns an unevaluated call to ilaplace.Hence you are observing that results.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeCalculus についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by