what is i in the answer?

조회 수: 2 (최근 30일)
Si So
Si So 2021년 1월 6일
댓글: Si So 2021년 1월 7일
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
Walter Roberson
Walter Roberson 2021년 1월 7일
How could it possibly solve the final laplace? You are dealing with the unknown function x(t) !
Si So
Si So 2021년 1월 7일
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.

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

답변 (0개)

카테고리

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

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by