필터 지우기
필터 지우기

Compute the Fourier Transform for: x(n)=u(n)-u(n-6); x(n)=[(2^n)*u]*(-n); x(n)=[-2,-1,0,1,2]

조회 수: 15 (최근 30일)
Li Hui Chew
Li Hui Chew 2021년 6월 24일
답변: Sharmin Kibria 2021년 6월 25일
For the first equation:
x=[1 0 0 0 0 0 -1];
y=fft(x)
y =
Columns 1 through 3
0.0000 + 0.0000i 0.3765 - 0.7818i 1.2225 - 0.9749i
Columns 4 through 6
1.9010 - 0.4339i 1.9010 + 0.4339i 1.2225 + 0.9749i
Column 7
0.3765 + 0.7818i
But thats all I can solve, the other 2 equations need help....Thanks!

답변 (1개)

Sharmin Kibria
Sharmin Kibria 2021년 6월 25일
Hello,
I believe you are trying to calculate the Fourier Transform of the three signals.
x[n] = u[n]-u[n-6] = 1, n = 0,1,...5, x[n] = 0 otherwise
x[n] = (2^n)u[-n]
x[n] = [-2 -1 0 1 2]
You should be able to calculate the FFT for the third signal directly. For the first two signals you need to theorically calculate the values of x[n] from the definition of unit step function. Once you know the values of x[n], you can calculate the FFT for these signals.
Thanks
Sharmin

카테고리

Help CenterFile Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

태그

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by