Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

a. Using Octave, prepare and test a set of programming statements to generate two different Sinewaves (x1(n) and x2(n)).

b. Process these two sinewaves through a linear system with the following definition:
y(n) = (-3*x(n))/8;

Show, through example, that for your two Sinewaves, the result of processing the sum of your two sinewaves, x1(n) + x2(n) by the linear system y(n) is the same output as the sum of the two outputs, y applied to x1(n) added to y applied to x2(n).

You should provide plots of x1, x2, and x1+x2. In addition you should provide plots of y1, (i.e., y applied to x1) and y2 (y applied to x2). Finally, you should show in a plot that y1+y2 is the same as y(x1+x2).

You are welcome to generate different sinewaves using different sample rates or oscillations but the net result should show that your system is linear.

Explain why your system is a linear system.

c. Prepare a block diagram for time-invariant linear system that performs a 5-point moving average. Using Octave, then prepare and test an Impulse response that tests your 5-point moving average system. Plot both the input and the output for the Impulse and the attached dataset (for5avg.m).

Deliverables: You should include a separate Octave m file for each of the problems for this set. Name one yournamehw1a.m and the other yournamehw1b.m. These m files should be fully tested and run perfectly from start to finish. The m files will include the plotting routines but you should also include a word document that includes your output, explanations, block diagram and other information from both parts of this assignment. If you prefer to use LaTeX, a freely downloadable tool that many researchers prefer to Word, you are welcome to do so, so long as you send me the .pdf output.
Your plots should be neat, properly labeled, with axis information, legends and titles as appropriate. Your code (m file) should include inline comments that describe your code and include header information including author, date and descriptions. Your word document should be named yournamehw1.doc (or yournamehw1.docx)

Be sure to submit your homework in the WebTycho assignments folder no later than the due date listed in the syllabus.

Rubric:

a. Show that you know what it takes to specify a sinewave. At a minimum, it has a frequency. Sinusoids also have amplitude and phase.  set each component. For 25 points, any two sinewaves are enough. For 12 points, show the mathematical expression, naming the Octave function that calculates sine.

b.  explain mathematically what the plots show, namely, the given transformation y=f(x) is a linear one. For 25 points, show the plots without the convincing argument.find a definition of linear transformation and write it (with citation).

c. the whole. For 25 points, write down the definition of moving average, and discuss why a programmatic loop could be useful. write down the definition of average, and of impulse function

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91698838
  • Price:- $20

Priced at Now at $20, Verified Solution

Have any Question?


Related Questions in Computer Engineering

A system has two levels of cache l1 and l2 between

A system has two levels of cache L1 and L2 between processor and main memory. If a referenced word is in L1, 10 ns are required to access it. The look-up time for L2 is 20 ns. L1 hit ratio is 30% and L2 hit ratio is 50%. ...

Question whether in a scholarly or practitioner setting

Question: Whether in a scholarly or practitioner setting, good research and data analysis should have the benefit of peer feedback. For this Discussion, you will post your response to the hypothesis test, along with the ...

Suppose that a weapons inspector must inspect each of 4

Suppose that a weapons inspector must inspect each of 4 different sites 2 times, visiting one site per day. The inspector is free to select the order in which to visit these sites, but cannot visit site X, the most suspi ...

Question suppose we deal a 5 card hand from a standard deck

Question : Suppose we deal a 5 card hand from a standard deck. What is the probability that the hand is all Spades, given that it has at least two Spades? The response must be typed, single spaced, must be in times new r ...

A streaming company needs to measure the average time

A streaming company needs to measure the AVERAGE time spread for users who watch video on their platform in a session. Each user has one time spread, which is the difference between her longest session streaming video an ...

Recall that for a block cipher a key schedule algorithm

Recall that for a block cipher, a key schedule algorithm determines the subkey for each round, based on the key K. Let K = (K0,K1,K2......K55) be a 56-bit DES key. a. List the 48 bits for each of the 16 DES subkeys K1, K ...

Question suppose that the coins of the fictional country of

Question : Suppose that the coins of the fictional country of Combinatoria come in the de- nominations, d1, d2, . . . , dk, where d1 = 1 and the other di values form a set of distinct integers greater than 1. Given an in ...

We say that a binary tree t is perfectly balanced if for

We say that a binary tree T is perfectly balanced if, for each node n in T , the number of keys in the left and right subtrees of n differ at most by 1. Write an algorithm called Is-Perfectly-Balanced that, given a binar ...

The strfirstname and strlastname variables contain the

The strFirstName and strLastName variables contain the strings "Jane" and "Jones", respectively. Which of the following statements will display a string as "Jones, Jane" (the last name, a comma, a space, and the first na ...

Jamie dimon changed the business model for jpmorgan chase

Jamie Dimon changed the business model for JPMorgan Chase in 2008. In the process, the bank gave enormous trading authority to one individual. What are the ERM strengths and weaknesses of this strategy?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As