How to find the Fourier transform X(ω)

6 次查看(过去 30 天)
Hello world!
I want to find the fourier transform X(ω) of these continuous signals x(t).
Also I want to find the inverse fourier transform of these signal X(ω).
In addition, for each of the above questions, draw the signals x(t) and the spectrums Χ(ω) respectively.
I run this code for first questions but it doesn't work. Can anyone help me?
t =(-1:0.01:1)';
u == unitstep = t>=0;
x = (t.*exp(-3*t)*sin(8*t))*u;
f = fourier(x);
plot(f)

采纳的回答

Ameer Hamza
Ameer Hamza 2020-12-3
fourier() works with symbolic inputs
syms t
x(t) = (t*exp(-3*t)*sin(8*t))*heaviside(t);
fourier(x)
  5 个评论
RoBoTBoY
RoBoTBoY 2020-12-3
How to perform the second question with code?

请先登录,再进行评论。

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by