how to perform inverse laplace to transfer function create by tf

4 views (last 30 days)
hi,
is there any way to do the inverse Laplace to the transfer function create by tf? i tried ilaplace but it show error.
Error in Laplace_Calculator>pushbutton1_Callback (line 86) ft = ilaplace(fs);

Accepted Answer

Birdman
Birdman on 28 Dec 2017
Consider the following approach:
Gs=tf(1,[1 3 2]);
[b,a]=residue(Gs.Numerator{1},Gs.Denominator{1});
temp=0;
syms s t
for i=1:numel(a)
temp=temp+(b(i)/(s+a(i)));
end
timeDomainFunc=ilaplace(temp,t)

More Answers (1)

Walter Roberson
Walter Roberson on 28 Dec 2017

Community Treasure Hunt

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

Start Hunting!