MATLAB Answers

Result ilaplace a number

1 view (last 30 days)
john
john on 29 Jul 2013
Answered: RahulTandon on 7 Jul 2015
Hi,
from this code:
a=55/4/sym('s^2');
b=ilaplace(a);
I got:
(55*t)/4
How can I get result like 13,75*t????
Thanks

Answers (2)

Azzi Abdelmalek
Azzi Abdelmalek on 29 Jul 2013
double(coeffs(b))
  5 Comments
john
john on 1 Aug 2013
In variable "b" exist exp(t)/4...but result is 0.25*[1, t]....so [1, t] means always expression "exp(t)"?

Sign in to comment.


RahulTandon
RahulTandon on 7 Jul 2015
a=55/4/sym('s^2'); b=ilaplace(a); vpa(b) % this will give you the complete answer!

Categories

Tags

Community Treasure Hunt

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

Start Hunting!