0% found this document useful (0 votes)
7 views3 pages

ECE102 hw4

This document outlines Homework #4 for ECE102 at UCLA, focusing on Fourier series and LTI systems, with a total of 100 points. It includes various problems related to finding Fourier series coefficients, transformations of signals, eigenfunctions, and LTI systems, as well as MATLAB tasks for practical implementation. The homework is due on May 6, 2022, and requires submission via Gradescope.

Uploaded by

Yi Lin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views3 pages

ECE102 hw4

This document outlines Homework #4 for ECE102 at UCLA, focusing on Fourier series and LTI systems, with a total of 100 points. It includes various problems related to finding Fourier series coefficients, transformations of signals, eigenfunctions, and LTI systems, as well as MATLAB tasks for practical implementation. The homework is due on May 6, 2022, and requires submission via Gradescope.

Uploaded by

Yi Lin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

ECE102, Spring 2022 Homework #4

Signals & Systems Prof. A. Kadambi


University of California, Los Angeles; Department of ECE TAs: P. Chari, Z. Wang

Due Friday, 6 May 2022, by 11:59pm to Gradescope.


100 points total.
This homework covers questions relate to Fourier series and LTI systems.
1. (28 points) Fourier Series

(a) (18 points) Find the Fourier series coefficients for each of the following periodic signals:
i. f (t) = cos(3πt) + 12 sin(4πt)
ii. f (t) is a periodic signal with period T = 1 s, where one period of the signal is
defined as e−2t for 0 < t < 1 s, as shown below.

iii. f (t) is the periodic signal shown below:

(b) (10 points) Suppose you have two periodic signals x(t) and y(t), of periods T1 and T2
respectively. Let xk and yk be the Fourier series coefficients of x(t) and y(t).
i. If T1 = T2 , express the Fourier series coefficients of z(t) = x(t) + y(t) in terms of
xk and yk .
ii. If T1 = 2T2 , express the Fourier series coefficients of w(t) = x(t) + y(t) in terms of
xk and yk .

2. (20 points) Fourier series of transformation of signals


Suppose that f (t) is a periodic signal with period T0 , with the following Fourier series:

X
f (t) = ck ejkω0 t
k=−∞

Determine the period of each of the following signals, then express its Fourier series in terms
of ck :

1
(a) g(t) = f (t) + 1
(b) g(t) = f (−t)
(c) g(t) = f (at), where a is positive real number

3. (10 points) Eigenfunctions and LTI systems

(a) (5 points) Show that f (t) = cos(ω0 t) is not an eigenfunction of an LTI system.
(b) (5 points) Show that f (t) = t is not an eigenfunction of an LTI system.

4. (29 points) LTI systems


Consider the following system:

The system takes as input x(t), it first multiplies the input with et , then sends it through an
LTI system. The output of the LTI system gets multiplied by e−t to form the output y(t).

(a) Show that we can write y(t) as follows:

y(t) = et x(t) ∗ h(t) e−t


  
(1)

(b) Use the definition of convolution to show that (1) can be equivalently written as:
Z ∞
y(t) = h0 (τ )x(t − τ )dτ (2)
−∞

where h0 (t) is a function to define in terms of h(t).


(c) Equation (2) represents a description of the equivalent system that maps x(t) to y(t).
Show using (2) that the equivalent system is LTI and determine its impulse response
heq (t) in terms of h(t).
(d) Suppose that system S1 is given by its step response s(t) = r(t − 1). Find the impulse
response h(t) of S1 . What can you say about the causality and stability of system S1 ?
What can you say about the causality and stability of the overall equivalent system?

5. (13 points) MATLAB

(a) (6 points) Task 1


Write an m-file that takes a set of Fourier series coefficients, a fundamental frequency,
and a vector of output times, and computes the truncated Fourier series evaluated at
these times. The declaration and help for the m-file might be:

2
function fn = myfs(Dn,omega0,t)
%
% fn = myfs(Dn,omega0,t)
% % Evaluates the truncated Fourier Series at times t
%
% Dn -- vector of Fourier series coefficients
%
% omega0 -- fundamental frequency
% t -- vector of times for evaluation
%
% fn -- truncated Fourier series evaluated at t
The output of the m-file should be

fN (t) = ΣN
n=−N Dn e
jω0 nt

The length of the vector Dn should be 2N + 1. You will need to calculate N from the
length of Dn.

(b) (7 points) Task 2 Verify the output of your routine by checking the Fourier series
coefficients for Problem 1-a-ii. Try for N = 10, N = 50 and N = 100. Use the
MATLAB command ”subplot” to put multiple plots on a page. As usual, include both
codes and plots.
(c) (7 points) Task 3 Repeat the steps of Task 2 for the case of the signal from Problem
1-a-iii.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy