1)Matlab code and plots
clear;clc;
T0=2*pi; %time period of f(t)
Ts=0.001; %samplig time
t=-1.5*T0:Ts:1.5*T0-Ts; %time index for f(t) plot upto 3
period
k=-20:20; %harmonic index for ak plots
%% for alpha=pi/8
a1=pi/8;
%f(t) over one period
t1=-T0/2:Ts:T0/2-Ts;
f1=zeros(1,length(t1));
f1(abs(t1)<a1)=1/(2*a1);
% f(t) over 3 period
ft1=repmat(f1,1,3);
% f(t) FS coefficient
ak1=(1/T0)*sinc(k*a1./pi);
figure(1)
plot(t,ft1);
title('plot of f(t) for \alpha =\pi/8');
xlabel('t');ylabel('f(t)');grid on;
figure(2)
stem(k,abs(ak1));
title('plot of absolute value of FS coefficients for \alpha
=\pi/8');
xlabel('k');ylabel('|a_k|');grid on;
%% for alpha=pi/2
a2=pi/2;
%f(t) over one period
t2=-T0/2:Ts:T0/2-Ts;
f2=zeros(1,length(t2));
f2(abs(t2)<a2)=1/(2*a2);
% f(t) over 3 period
ft2=repmat(f2,1,3);
% f(t) FS coefficient
ak2=(1/T0)*sinc(k*a2./pi);
figure(3)
plot(t,ft2);
title('plot of f(t) for \alpha =\pi/2');
xlabel('t');ylabel('f(t)');grid on;
figure(4)
stem(k,abs(ak2));
title('plot of absolute value of FS coefficients for \alpha
=\pi/2');
xlabel('k');ylabel('|a_k|');grid on;
%% for alpha=7pi/8
a3=7*pi/8;
%f(t) over one period
t3=-T0/2:Ts:T0/2-Ts;
f3=zeros(1,length(t3));
f3(abs(t3)<a3)=1/(2*a3);
% f(t) over 3 period
ft3=repmat(f3,1,3);
% f(t) FS coefficient
ak3=(1/T0)*sinc(k*a3./pi);
figure(5)
plot(t,ft3);
title('plot of f(t) for \alpha =7\pi/8');
xlabel('t');ylabel('f(t)');grid on;
figure(6)
stem(k,abs(ak3));
title('plot of absolute value of FS coefficients for \alpha
=7\pi/8');
xlabel('k');ylabel('|a_k|');grid on;
d)yes as signal strech in time domain its
bandwidth decrease or vice-versa
Exercise 1. Let 0<a<7. Let f(t) denote the 27t-periodic function 10, if a<\t]<1. a) Make a...
Exercise 5. Let f(t) denote the 2-periodic function f(t) = 1+2 - <t< . a) Make a representative plot of f(t) showing at least 3 periods. b) Using the numerical integration routine you wrote in your Home work 1 (Exercise 3) compute approx- imately the values of the Fourier series coefficients all of f() for k in the range -20 to 20. c) Make a plot of laul
Suppose, we let g(t) of problem 1 be periodic (i.e., g(t) is 9T (t) according to the notation using). To be precise let A 4Volts, let the pulse width T-0.1 seconds and let the 0.2 seconds. Find its continuous Fourier transform. Hint: gr. (t) is now that we are fundamental period To periodic and hence you can first find the Fourier series coefficients (C,) and relate those coefficients to the continuous Fourier transform of a periodic signal. Accurately sketch the...
Let f(t) be periodic function with period T = 1 defined over 1 period as f(t) = {t -1/2 < t < 1/2} (a) Plot f(t) and find its Fourier series representation. (b) Find the first four terms of the fourier series.
-Let-f(t)= 10 +:īncos nuot ot Could f(t) be the Fourier series representation of the periodic function shown below? Use qualitative reasoning only, i.e., do not attempt to find the Fourier series coefficients in answering this question. Justify your answer
4. Consider the periodic function 0, -1<t<- f(t) cos(#(t + 1)), } <t< 0 cos(at), 0<t< 0, }<t<i with f(t) = f(t+2). (a) Determine a general expression for the Fourier series of f. (b) Use MATLAB to plot both f and the sum of the first 5 non-zero terms of the Fourier series for f on the same set of axes for -1<t<3.
11. (10 points) Let f(t) be a 27-periodic function defined by f(t) = -{ 2 if – <t<0, -2 if 0 <t<, f(t + 2) = f(t). a) Find the Fourier series of f(t). b) What is the sum of the Fourier series of f at t = /2.
2.6 Let x(t) and y(t) be two periodic signals with period To, and let X, and yn denote the Fourier series coefficients of these two signals. Show that 7. Le***0*n di = § 00 2.7 Show that for all periodic physical signals that have finite power, the coefficients of the Fourier series expansion x,, tend to zero as n → .
Q2. The following function f(t) is periodic with fundamental period To Sketch f(t) for at least 2 full cycles and obtain an expression for the Fourier series. Ensure that you calculate all coefficients and check your answer with the knowledge of odd or even functions. (0 – T. /251<-To 14, f(t) = {2A, - T./451< +T./4, 0, +T, / 4<t<+T72.
3. Let the following periodic signal : x(t) = m+0 8(t -- 3m) + 8(t-1-3m) + 8(t – 2 – 3m) be the input to a LTI system with a system function: H(s) = es/4 – e-s/4, Let by represent the Fourier series coefficients of the resulting output signal y(t). Determine bk. (5 points)
(b) Let X(ju) denote the Fourier transform of the signal r(t) shown in the figure x(t) 2 -2 1 2 Using the properties of the Fourier transform (and without explicitly evaluating X(jw)), ii. (5 pts) Find2X(jw)dw. Hint: Apply the definition of the inverse Fourier transform formula, and you can also recall the time shift property for Fourier Transform. (c) (5 pts) Fourier Series. Consider the periodic signal r(t) below: 1 x(t) 1 -2 ·1/4 Transform r(t) into its Fourier Series...