hw4

pdf

School

California Polytechnic State University, San Luis Obispo *

*We aren’t endorsed by this school

Course

60

Subject

Electrical Engineering

Date

Oct 30, 2023

Type

pdf

Pages

4

Uploaded by CorporalTrout3858

Report
ECE 102, Fall 2023 Homework #4 Department of Electrical and Computer Engineering Prof. Jonathan C. Kao University of California, Los Angeles TAs: Yang, Bruce, Shreyas Due Monday, 6 November 2023, by 11:59 pm to Gradescope Covers material up to lecture 9. 100 points total 1. (15 points) LTI systems Consider the following system: The system takes as input x ( t ), it first multiplies the input with e t , 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) (5 points) Show that we can write y ( t ) as follows: y ( t ) = ( e t x ( t ) ) h ( t ) e t (1) (b) (5 points) Use the definition of convolution to show that (1) can be equivalently written as: y ( t ) = Z −∞ h ( τ ) x ( t τ ) (2) where h ( t ) is a function to define in terms of h ( t ). (c) (5 points) 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 h eq ( t ) in terms of h ( t ). 2. (10 points) Eigenfunctions and LTI systems Determine if the following signals are eigenfunctions of LTI systems (a) (5 points) f ( t ) = t 2 (b) (5 points) f ( t ) = e jwt u ( t ) 3. (28 points) Fourier Series (a) (18 points) Find the Fourier series coefficients for each of the following periodic signals: 1
i. (9 points) f ( t ) = sin(7 πt ) + 1 3 cos(4 πt ) ii. (9 points) f ( t ) is a periodic signal with period T = 1 s, where one period of the signal is defined as e t for 0 < t < 1 s, as shown below. (b) (10 points) Suppose you have two periodic signals x ( t ) and y ( t ), of periods T 1 and T 2 respectively. Let x k and y k be the Fourier series coefficients of x ( t ) and y ( t ). i. (5 points) If T 1 = T 2 , express the Fourier series coefficients of z ( t ) = 3 x ( t ) + 2 y ( t ) in terms of x k and y k . ii. (5 points) If T 1 = 2 T 2 , express the Fourier series coefficients of w ( t ) = x ( t ) + y ( t ) in terms of x k and y k . 4. (34 points) Fourier series of transformation of signals (a) (15 points) Suppose that f ( t ) is a periodic signal with period T 0 , with the following Fourier series: f ( t ) = X k = −∞ c k e jkω 0 t Determine the period of each of the following signals, then express its Fourier series in terms of c k : i. (5 points) g ( t ) = 3 f ( t ) ii. (5 points) g ( t ) = f ( at ) where a is a positive real number. iii. (5 points) g ( t ) = f ( t t 0 ) (b) (5 points) Given two periodic signals and their corresponding Fourier series representa- tion as follows: x 1 ( t ) = 100 X k = 100 cos ( ) e jk 2 π 50 t x 2 ( t ) = 100 X k = 100 jsin ( 2 ) e jk 2 π 50 t Identify whether the signals is/are even. (c) (14 points) Suppose x ( t ) is periodic with period T and is specified in the interval 0 < t < T/ 4 as shown in figure 1. 2
Figure 1: x ( t ) in the interval 0 < t < T/ 4 Sketch x ( t ) in the interval 0 < t < T if i. (7 points) the Fourier series has only odd harmonics and x ( t ) is an even function ii. (7 points) the Fourier series has only odd harmonics and x ( t ) is an odd function 5. (13 points) Python (a) (6 points) Task 1 Write an python function 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 python file might be: def 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 = myfs(Dn, omega0, t) ''' fn -- truncated Fourier series evaluated at t} ''' The output of the python function should be f N ( t ) = Σ N n = N D n e 0 nt The length of the vector Dn should be 2 N + 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 the sawtooth waveform. The sawtooth signal is given by f(t) = t mod 1 described in the 3
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
class notes. Try for N = 10, N = 50. Use the python subplot command to put multiple plots on a page. 4

Browse Popular Homework Q&A

Q: A metal sphere hangs from a string and has 8 kg of mass. The sphere has a charge of +6.7 µC. A…
Q: For the given rational function f(x)=6−2x^2/x^2−9​,   ​(A) Find any intercepts for the graph. ​(B)…
Q: /**      * Converts an uppercase letter to its circled counterpart.      *       * @precondition 'A'…
Q: Refer to the graph for a profit-maximizing monopolist. The firm will produce a quantity equal to the…
Q: Un+1 1. lim = 0.25 An An+1 lim
Q: The gross domestic product, G, of Switzerland¹ was 678.97 billion dollars in 2017. Give a formula…
Q: A company deposits 2000 at the beginning of the first year and 200 at the beginning of each…
Q: You are purchasing a new car for $27,600.  The dealership offers you three options: 0% financing: 0…
Q: For the following equation, find x. 2 log x=3 log 125+ logb4-log 10 b b X= (Type an integer or a…
Q: i.e. the of an electron being within a given location with respect to the nucleus.
Q: Write code that gets the tenth item in the list, assigning it to an appropriate variable. (java)
Q: 4) Find the equation of the tangent line to the function f(x) = 3 at x = 1. Round the slope to one…
Q: find the homogeneous linear differential equation with constant coefficients whose general solution…
Q: Sophia invests $100 at the end of each year for 9 years at an annual effective interest rate of 4%.…
Q: If buyers expect the price of a good will be lower in the future, then? Group of answer choices…
Q: Morris Saldov conducted a study in Eastern and Central Newfoundland in 1988 to examine public…
Q: 1+ csc(t) 1+ sin(t) Simplify to a single trig function. Question Help: DVideo M Message instructor…
Q: The Kunkel's host a game night every weekend.  The duration of these game nights, typically, last…
Q: 1 Draw a Ramachandran Plot indicating regions where a helices (left and right) and ß sheets are…
Q: Let an+1 = (1+an)/3 and a1 = 0.  a. Prove that an is increasing and bounded above by 3.  b.…
Q: parallel plate capacitor has metal plates, each of area 1.50 m2, separated by 1.50 mm. What charge…
Q: A concert promoter needs to make $46,000 from the sale of 1,730 tickets. The promoter charges $20…