2. Generate and plot a[n] = 2 cos(0.2mn) for 0 n 99 using the following...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
2. Generate and plot a[n] = 2 cos(0.2mn) for 0 ≤ n ≤99 using the following MATLAB code: clear all n= [0:99]; x=2* cos (0.2*pi. *n); stem (n, x); legend ('x [n] ¹); title ('Sequence of periodic signal'); xlabel('n'); ylabel('x[n]'); axis ([0 99 -2 2]); Examine the operation of each command line. Then answer the following: (b) (a) How many periods of the sinusoidal sequence are there in the plot? Determine the fundamental frequency and fundamental period of x[n]. Compute the power of r[n] = 2 cos(0.2mn). Suppose x[n] = 0 outside the interval 0 ≤ compute the energy of r[n], which is defined as: ≤99. With the use of MATLAB, (c) (d) (e) (h) 99 Ext0 = Σx[n]r*[n] = Σ\r\n]|2 n=0 99 where denotes the complex conjugate operator. (Hint: You may use the complex conjugate transpose command "" and matrix multiplication command "*" which are found using "help ops".) Repeat (d) with r[n] = 2e02, i.e., x=2*exp(j*0.2*pi.*n). Repeat (d) with r[n] = 2 cos(0.2mm + 1). Repeat (d) with r[n] = 2 cos(0.222mn). Repeat (g) with n= [0:999] and n= [0:9999]. Note that when [n] is of length N, the energy computation is generalized as: N-1 Ez.N=x[n]|² 2. Generate and plot a[n] = 2 cos(0.2mn) for 0 ≤ n ≤99 using the following MATLAB code: clear all n= [0:99]; x=2* cos (0.2*pi. *n); stem (n, x); legend ('x [n] ¹); title ('Sequence of periodic signal'); xlabel('n'); ylabel('x[n]'); axis ([0 99 -2 2]); Examine the operation of each command line. Then answer the following: (b) (a) How many periods of the sinusoidal sequence are there in the plot? Determine the fundamental frequency and fundamental period of x[n]. Compute the power of r[n] = 2 cos(0.2mn). Suppose x[n] = 0 outside the interval 0 ≤ compute the energy of r[n], which is defined as: ≤99. With the use of MATLAB, (c) (d) (e) (h) 99 Ext0 = Σx[n]r*[n] = Σ\r\n]|2 n=0 99 where denotes the complex conjugate operator. (Hint: You may use the complex conjugate transpose command "" and matrix multiplication command "*" which are found using "help ops".) Repeat (d) with r[n] = 2e02, i.e., x=2*exp(j*0.2*pi.*n). Repeat (d) with r[n] = 2 cos(0.2mm + 1). Repeat (d) with r[n] = 2 cos(0.222mn). Repeat (g) with n= [0:999] and n= [0:9999]. Note that when [n] is of length N, the energy computation is generalized as: N-1 Ez.N=x[n]|²
Expert Answer:
Answer rating: 100% (QA)
The MATLAB code provided generates and plots a discretetime sinusoidal sequence xn 2cos02n for n ranging from 0 to 99 Lets go through the questions on... View the full answer
Related Book For
Signals and Systems using MATLAB
ISBN: 978-0128142042
3rd edition
Authors: Luis Chaparro, Aydin Akan
Posted Date:
Students also viewed these programming questions
-
A chirp signal is a sinusoid of continuously changing frequency. Chirps are frequently used to jam communication trans-missions. Consider the chirp (a) A measure of the frequency of the chirp is the...
-
. Sara invested $4,600 into an account that grew to $35,000 over a period of 10 years. The interest in the account is compounded annually. What was the annual interest rate of the account? % Give the...
-
Which of the following is characteristic of a traditional cost system? a. Reliance on financial performance measures b. Many work in process account transactions c. Many process control points d. All...
-
Determine the normal force, shear force, and moment in the beam at sections passing through points D and E. Point E is just to the right of the F load. Units Used: kip = 103 lb Given: a = 6 ft w =...
-
Merrill Lynch had a written policy that required its employees to hold client information in strict confidence. What instruction did Peter Bacanovic give Douglas Faneuil on the morning of December...
-
Consider the air pollution and mortality data given in Table B.15. a. Is there a problem with collinearity? Discuss how you arrived at this decision. b. Perform a ridge trace on these data. c. Select...
-
Use the data in LOANAPP.RAW for this exercise. The binary variable to be explained is approve, which is equal to one if a mortgage loan to an individual was approved. The key explanatory variable is...
-
Activity Optomistic Most Likely Pessimistic Critical A 4 6 9 no B 2 3 9 Yes C 12 14 15 YES D 10 28 29 NO E 3 4 5 Yes F 2 4 6 Yes What is the expected Project Completion time? ...
-
The neighborhood cat likes to sleep on the roof of our shed in the backyard. The roofing surface is weathered galvanized sheet metal ( = 0.65, S = 0.8). Consider a cool spring day when the ambient...
-
The physical state of a matter depends upon Options: 1) Temperature and pressure 2) Temperature 3) Pressure 4) None of these
-
On-Site Testing Service has received four investment proposals for consideration. Two of the proposals, X1 and X2, are mutually exclusive. The other two proposals, Y1 and Y2 are also mutually...
-
What percentage of women have red blood cell counts in the normal range from 4.2 to 5.4? Assume that red blood cell counts of women are normally distributed with a mean of 4.577 and a standard...
-
Suppose we have a system with transfer function having two zeros at \(z=0\), double poles at \(z=a\), and a single pole at \(z=-b\), where \(a>1\) and \(0
-
True or False: Present worth analysis is the most popular \(D C F\) measure of economic worth.
-
If boys and girls are equally likely, groups of 400 births have a mean of 200 girls and a standard deviation of 10 girls. Is 185 girls in 400 births an unusually low number of girls?
-
Luis bought a home in 2001 for $135,000. The housiniy market then crashed and in 2009 Luis was only able to sell the home for $102,000. What was the average rate of change for the value of Luis' home...
-
Perform the operation by first converting the numerator and denominator to scientific notation. Write the answer in scientific notation. 7,200,00/0.000009
-
The impulse response satisfies the difference equation with zero boundary conditions. By definition (a) Use the difference equation to show that (b) Show that for m 0; n > 0 determine the values of...
-
To compute the 2D-DFT one can use 1D-DFT by separating the equation for the 2D-DFT as (a) Using the one-dimensional MATLAB function fft to implement the above result, and for the signal with values M...
-
A filter has a transfer function (a) Find the poles and zeros of H(z 1 ; z 2 ). (b) For what values of z 1 and z 2 is H(z 1 , z 2 ) = 0/0? (c) Ignoring the numerator, i.e., letting is this filter...
-
Pick any three of the sources of prospects discussed in the chapter and pick a product or service you like. Develop several ideas for how you would use each source to locate leads for the product or...
-
Why do you think a salesperson might experience call reluctance? How can it be overcome?
-
List three or four criteria you could use to qualify a lead as a likely prospect. How would you find out if the lead meets these criteria?
Study smarter with the SolutionInn App