40 likes | 248 Views
COMM 401: SIGNALS & SYSTEMS Lecture 09: Discrete Time Fourier Series. Dr.-Ing. Khaled Shawky Hassan Faculty of Information Engineering and Technology khaled.shawky@guc.edu.eg. Fourier series coefficient. clear; N=10; % fundamental period w0= 2*pi/N; % fundamental frequency
E N D
COMM 401: SIGNALS & SYSTEMSLecture 09: Discrete Time Fourier Series Dr.-Ing. Khaled Shawky Hassan Faculty of Information Engineering and Technology khaled.shawky@guc.edu.eg
Fourier series coefficient clear; N=10; % fundamental period w0= 2*pi/N; % fundamental frequency n = 1:1:N; % discrete time (one period) % different signals: x=[1 1 0 0 0 0 0 1 1 1]; % x=sin(w0*n); % x=cos(w0*n); % x=exp(j*2*w0*n); % x=[1 1 1 1 1 1 1 0 0 1]; % x=[4 3 2 1 0 1 2 3 4 5]; for ik=1:N, a(ik) = 1/N*sum(x.*exp(-j*ik*w0*n)); end Dr.-Ing. Khaled Shawky Hassan Electronics and Electrical Engineering Department
signal Dr.-Ing. Khaled Shawky Hassan Electronics and Electrical Engineering Department
frequency spectrum Dr.-Ing. Khaled Shawky Hassan Electronics and Electrical Engineering Department