what is i in the answer?

4 次查看(过去 30 天)
Si So
Si So 2021-1-6
评论: Paul 2024-5-30
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
  8 个评论
VBBV
VBBV 2024-5-30
@Si So you could simplify the equation and then use lapplace term by term
syms x(t) s
Dx = diff(x(t),t);
L = laplace(laplace(sin(t),t,s)*Dx,t,s)
L = 
Paul
Paul 2024-5-30
What is the mathematical justifcation for this solution?
syms x(t) s
Dx = diff(x(t),t);
Consider the inner term
(laplace(sin(t),t,s)*Dx)
ans = 
What does it mean to mutiply of function of t with a function of s (in the context of this problem)?
Is there a reference for a property of the Laplace transform that says ( * means multiplication)?
L(f(t)*g(t)) = L(f(t))*g(t)
%L = laplace(laplace(sin(t),t,s)*Dx,t,s)

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by