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]
조회 수: 23 (최근 30일)
이전 댓글 표시
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!
댓글 수: 0
답변 (1개)
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
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!