MATLAB Answers

How to find the Fourier transform X(ω)

3 views (last 30 days)
RoBoTBoY on 3 Dec 2020
Commented: RoBoTBoY on 3 Dec 2020
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);

Accepted Answer

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

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by