what is i in the answer?

4 views (last 30 days)
Si So
Si So on 6 Jan 2021
Commented: Si So on 7 Jan 2021
I don't know what is i in the answer of my script. Complex number? how can I simplify it? I need to get rid of i.
syms x(t) s
Dx = diff(x(t),t);
ans =
- (s*laplace(x(t), t, s - 1i)*1i)/2 + (s*laplace(x(t), t, s + 1i)*1i)/2 - laplace(x(t), t, s - 1i)/2 - laplace(x(t), t, s + 1i)/2
Thank you for helping me
Walter Roberson
Walter Roberson on 7 Jan 2021
How could it possibly solve the final laplace? You are dealing with the unknown function x(t) !
Si So
Si So on 7 Jan 2021
but in mathematics, it can be defined:
I am solving an ODE by laplace method. So x(t) is the variable of differential equation.

Sign in to comment.

Answers (0)


Find more on Programming in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!