For most of this exercise, you will be working with finite segments of the two signals...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
For most of this exercise, you will be working with finite segments of the two signals (sin(0.47 (n − 62)))²₁ - 0.4л(n-62) x₁[n] = x₂[n]: (sin(0.27 (n = 62))) ². - [1] [2] Define x1 and x2 to be these signals for 0 ≤ n ≤ 124 n using the sinc command. Plot both of these signals using stem. If you defined the signals properly, both plots should show that the signals are symmetric about their largest sample, which has height 1. Analytically confirm your signals have their zero-crossings in the correct locations. (b) Analytically compute the DTFTs X₁(e) and X₂(e) of x₁[n] and x²[n] as given in Eqs. (1) and (2), ignoring the effect of truncating the signals. k Use fft to compute the samples of the DTFT of the truncated signals in x1 and x2 at wk = 2π 2048 for 0 ≤ k ≤ 2047 and store the results in X1 and X2. Generate appropriately labeled plots of the magnitudes of X1 and X2. How do these plots compare with your analytical expressions? xe[n]: {:1 0 n = k L, k integer otherwise If x is a row vector containing x[n], the following commands implement expanding by L >> xe = zeros (1, L*length(x)); >> xe(1:L:length(xe)) = X; Based on this template, define xe1 and xe2 to be x1 and x2 expanded by a factor of 3. Also, define Xe1 and Xe2 to be 2048 samples of the DTFT of these expanded signals computed using fft. Generate appropriately labeled plots of the magnitude of these DTFTs. Expanding by L should give a DTFT X₂(ei). Do your plots agree with this? Note: If you want to increase the sampling rate by L, you need to interpolate between the samples of xe[n] with a lowpass filter with cutoff frequency wc = This filter will remove the compressed copies of X₁(e) T L ▪ E, except the ones centered at @c = 2лk. The resulting spectrum is that which would have been L located every obtained if the original bandlimited continuous-time signal had been sampled L times faster. For this reason, the combination of expansion and interpolation is often referred to as upsampling a signal. (d) If the row vector x contains the signal x[n], the following MATLAB command will implement downsampling by an integer factor M >> xd = x (1 : M: length(x)); Based on the DTFTs you found analytically in Part (b), state for both x₁[n] and x₂[n] if the signal can be downsampled by a factor of 2 without introducing aliasing. If downsampling introduces aliasing, indicate which frequencies are corrupted by the aliasing and which are not affected. If the signal can be downsampled without introducing aliasing, sketch the magnitude of X(e"), the DTFT of downsampledsignal. (e) Define xd1 and xd2 to be the result of downsampling x1 and x2 by 2. Define Xd1 and Xd2 to be samples of the DTFTs of the downsampled signals computed at 2048 evenly spaced samples between 0 and 2. Generate appropriately labeled plots of the magnitudes of both DTFTs. Do the plots agree with your sketch(es) from Part (d)? For most of this exercise, you will be working with finite segments of the two signals (sin(0.47 (n − 62)))²₁ - 0.4л(n-62) x₁[n] = x₂[n]: (sin(0.27 (n = 62))) ². - [1] [2] Define x1 and x2 to be these signals for 0 ≤ n ≤ 124 n using the sinc command. Plot both of these signals using stem. If you defined the signals properly, both plots should show that the signals are symmetric about their largest sample, which has height 1. Analytically confirm your signals have their zero-crossings in the correct locations. (b) Analytically compute the DTFTs X₁(e) and X₂(e) of x₁[n] and x²[n] as given in Eqs. (1) and (2), ignoring the effect of truncating the signals. k Use fft to compute the samples of the DTFT of the truncated signals in x1 and x2 at wk = 2π 2048 for 0 ≤ k ≤ 2047 and store the results in X1 and X2. Generate appropriately labeled plots of the magnitudes of X1 and X2. How do these plots compare with your analytical expressions? xe[n]: {:1 0 n = k L, k integer otherwise If x is a row vector containing x[n], the following commands implement expanding by L >> xe = zeros (1, L*length(x)); >> xe(1:L:length(xe)) = X; Based on this template, define xe1 and xe2 to be x1 and x2 expanded by a factor of 3. Also, define Xe1 and Xe2 to be 2048 samples of the DTFT of these expanded signals computed using fft. Generate appropriately labeled plots of the magnitude of these DTFTs. Expanding by L should give a DTFT X₂(ei). Do your plots agree with this? Note: If you want to increase the sampling rate by L, you need to interpolate between the samples of xe[n] with a lowpass filter with cutoff frequency wc = This filter will remove the compressed copies of X₁(e) T L ▪ E, except the ones centered at @c = 2лk. The resulting spectrum is that which would have been L located every obtained if the original bandlimited continuous-time signal had been sampled L times faster. For this reason, the combination of expansion and interpolation is often referred to as upsampling a signal. (d) If the row vector x contains the signal x[n], the following MATLAB command will implement downsampling by an integer factor M >> xd = x (1 : M: length(x)); Based on the DTFTs you found analytically in Part (b), state for both x₁[n] and x₂[n] if the signal can be downsampled by a factor of 2 without introducing aliasing. If downsampling introduces aliasing, indicate which frequencies are corrupted by the aliasing and which are not affected. If the signal can be downsampled without introducing aliasing, sketch the magnitude of X(e"), the DTFT of downsampledsignal. (e) Define xd1 and xd2 to be the result of downsampling x1 and x2 by 2. Define Xd1 and Xd2 to be samples of the DTFTs of the downsampled signals computed at 2048 evenly spaced samples between 0 and 2. Generate appropriately labeled plots of the magnitudes of both DTFTs. Do the plots agree with your sketch(es) from Part (d)?
Expert Answer:
Answer rating: 100% (QA)
The following MATLAB code shows how to complete all parts of the exercise Part a Define the signals ... View the full answer
Related Book For
Financial Accounting and Reporting a Global Perspective
ISBN: 978-1408076866
4th edition
Authors: Michel Lebas, Herve Stolowy, Yuan Ding
Posted Date:
Students also viewed these accounting questions
-
Financial balances for the car hire business of Monica Bass, People Limos , on 31 January 2022 are provided below in a table in accounting equation form. Assets = Liabilities + Equity Cash at bank +...
-
Businesses use budgets to plan for the future. Thats what you will be doing for this assignment. Rather than budgeting for your current financial situation, I want you to put together a budget for...
-
You are the Chairperson of the Business Program at InterState Community College (ICC). Recently it has come to that attention of ICC Administration that there is a need for Project Management...
-
Glass bottles can be either recycled (crushed and re-melted) or reused. The market will tend to choose the cheapest path. What factors will tend to affect the relative cost of these options? Is the...
-
Identify an organizational-level goal that would be incorporated into an annual business strategy (e.g., financial performance, service, productivity, competitive advantage, innovation.). Develop...
-
Highline Financial Services provides three categories of service to its clients. Managing partner Freddie Mack is getting ready to prepare financial and personnel hiring (or layoff) plans for the...
-
Who are the principal recipients of the auditor's required communication of material weaknesses in internal accounting control?
-
The following transactions of Houston Pharmacies occurred during 2015 and 2016: 2015 Jan. 9 Purchased computer equipment at a cost of $13,000, signing a six-month, 9% note payable for that amount. 29...
-
Linear optimization models can be applied to both physical and abstract network problems in supply chain management to increase efficiency in several ways: Inventory Management: Linear optimization...
-
Use the following forward and spot prices for Canadian dollars (C$) to answer the question below. The prices are in U.S. dollars ($/C$). Forward rate for 4/15/20 Spot rate delivery of Canadian...
-
The political party that challenged briefly united Black and white sharecroppers in the late nineteenth century South was called what?
-
Go to www.sec.gov. Under the heading "Filings and Forms" choose "search for company filings". Enter your company's ticker symbol. My company is Procter & Gamble (PG). Find the company's form 10-K...
-
I need the payback row for all years and the explanation on how to do it. Initial Investment Cash flows from operating activities Revenue from sales Less cash paid for: Materials Wages Benefits R&D...
-
JanehasaskedyoutomakechangestotheCompanySettingstoset upanduseadditionalQuickBooksfeatures. Jane knows that discountsare a part of the business. She asks you to make sure that when you add...
-
a) Discuss whether the system should be controllable or not. Check your intuition by forming the controllability matrix and checking its rank. b) Assume that all of the state variables can be...
-
A 4-speed AT for a FWD vehicle is shown in the stick diagram. The clutch engagement schedule is shown in the table. The first gear ratio and the overdrive gear ratio are designed to be 2.96 and 0.68...
-
SPW Industries employees several nonexempt employees. All employees are paid on a weekly basis. Please see the information below for Donnie Williams, one of the companys nonexempt employees. Position...
-
Tarick Toys Company manufactures video game consoles and accounts for product costs using process costing. The following information is available regarding its June inventories. The following...
-
Multiple Choice Questions Select the right answer (only one possible answers unless otherwise stated). 1 Which of the following measurement basis does not exist? (a) Historical cost (b) Decreasing...
-
Honda Motor Co. and its subsidiaries (collectively Honda) develop, manufacture, distribute and provide financing for the sale of its motorcycles, automobiles and power products. The consolidated...
-
The Wharf (Holdings) Limited (Wharf) is a Hong Kong listed Real Estate Development Company. Exhibit 1, below, offers a brief description adapted from the companys 2010 and 2011 annual reports and...
-
A congressman sent out questionnaires to 10,000 constituents to ask their opinions on a new health-care proposal. A total of 200 questionnaires were returned, and 70% of those responding supported...
-
Your best friends name. In Exercises 1524, determine whether the data described are qualitative or quantitative.
-
In a study of the effectiveness of wearing seat belts, a group of people who had survived car accidents in which they had not worn seat belts reported that seat belts would not have helped them. In...
Study smarter with the SolutionInn App