Question

1. Consider the following sequence (The bold large size element is at n = 0) x(n) = { ----- 0,0,01, 1, 1, 1, 1, 0, 0, 0------
0 0
Add a comment Improve this question Transcribed image text
Answer #1

feel free to ask doubts in the comment section

N -1 A real - periodic descrete time aagnal nin) can be represented by teneat. combination of complex exponentials iwon juon

6 no Energy of a desacte tone signal ain) - - 1.5 = 0.625 Energy is frequency domain lak 1² + (0-6850)? 1910-3018)”, (0.125)?

clc;
close all;
clear;
x = [1 1 1 0 0 0 1 1];
syms k;
ak=0;
N = 8;
w0 = 2*pi/N;
for i=1:N
   ak = ak + x(i)*exp(-1i*k*w0*(i-1));
end
ak = ak/8;
derived_ak = (1+2*exp(-1i*k*pi)*(cos(3*k*pi/4) + cos(pi*k/2)))/8;
k_range = 0:7;
disp("Discrete Fourier Series coefficients = ");
disp(double(subs(ak,k,k_range)));
disp("Discrete Fourier Series coefficients as derived = ");
disp(double(subs(derived_ak,k,k_range)));

disp("Energy using sequence in time domain = ");
disp(sum(x.^2)/N);
disp("Energy using Discrete fourier series coefficients = ");
disp(double(sum(subs(ak,k,k_range).^2)));

Command Window Discrete Fourier Series coefficients - 0.6250 0.3018 -0.1250 -0.0518 0.1250 -0.0518 -0.1250 0.3018 Discrete Fo

Add a comment
Know the answer?
Add Answer to:
1. Consider the following sequence (The bold large size element is at n = 0) x(n)...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT