what is i in the answer?

4 visualizzazioni (ultimi 30 giorni)
Si So
Si So il 6 Gen 2021
Commentato: Si So il 7 Gen 2021
Hello,
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);
laplace(sin(t)*Dx,t,s)
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
  6 Commenti
Walter Roberson
Walter Roberson il 7 Gen 2021
How could it possibly solve the final laplace? You are dealing with the unknown function x(t) !
Si So
Si So il 7 Gen 2021
but in mathematics, it can be defined:
laplace{x(t)}=X(s)
I am solving an ODE by laplace method. So x(t) is the variable of differential equation.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Programming in Help Center e File Exchange

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by