plot of inverse laplace of a function

조회 수: 105 (최근 30일)
azam ghamari
azam ghamari 2018년 12월 26일
댓글: Jerom John Shibu 2021년 5월 3일
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
Jerom John Shibu
Jerom John Shibu 2021년 5월 3일
try explot( x(t), [ 0 30])
Jerom John Shibu
Jerom John Shibu 2021년 5월 3일
ezplot

댓글을 달려면 로그인하십시오.

채택된 답변

madhan ravi
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))
Screen Shot 2018-12-26 at 10.10.21 AM.png

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Assumptions에 대해 자세히 알아보기

태그

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by