Definition of linear transformation and write it

Assignment Help Basic Computer Science
Reference no: EM13989981

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

Reference no: EM13989981

Questions Cloud

Expected rates of return for different products if the paint : Gregory's company has ordered a large supply of paint, but the manufacturer says there is a possibility that the batch they received was defective. However, the company has no choice but to start filling orders, and they are trying to decide where th..
What is the prediction of your model for the probability : What is the prediction of your model for the probability that a tree with diameter 10 would blow down as a function of the severity of wind, as it ranges from 0 to 1 - Write the likelihood function l(β) as a function of yi's and Πi(β).
Does an elective abortion lead to nagetive psychology effect : Article- Does an Elective Abortion Lead to Nagetive Psychology Effects? Read the article, please read it and write 3 pages
Imagine that youre working as a video game developer at the : Imagine that you're working as a video game developer at the Chicago office of Electronic Arts (EA), and you have been offered a transfer to the EA development studio in Tokyo, Japan.
Definition of linear transformation and write it : 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).
What is the charge q on the capacitor time : An uncharged capacitor with C = 14.9 μF, a resistor with R = 24.3 k Omega, and a V 25.7V are connected in series, What is the charge q (in C)on the capacitor Time t = 2 time constants, after the switch is dosed?
Draw a diagram showing the charge separation in the paper : A positively charged balloon is brought close to a neutral bit of paper, which it attracts. Draw a diagram showing the charge separation in the paper and explain why the attraction occurs.
How you would reconcile competing theoretical constructs : Describe how you would reconcile competing or conflicting theoretical constructs, in ethics, economics and/or politics, when considering specific examples of health policy problems.
Discuss the controversy of forgiveness versus revenge : In a minimum of 300 words, discuss the controversy of forgiveness versus revenge and post your impressions

Reviews

Write a Review

 

Basic Computer Science Questions & Answers

  Explaining formal risk assessment of desktop systems

As apart of a formal risk assessment of desktop systems in small accounting firm with limited IT Support, you have identified asset "integrity of customer and financial data files on desktop systems" and threat.

  Explaining problem-solving and brainstorming skills

Use problem-solving and brainstorming skills to find out a procedure to follow. Write down a one-page report outlining what to do.

  Write a for loop that produces the following output

Write a for loop that produces the following output

  Main sub-components of the internet

Identify the main sub-components of the Internet and discuss how the major element/s have contributed towards its evolution.

  Develop a first-cut sequence diagram

Develop a first-cut sequence diagram, which only includes the actor and problem domain classes. Add the view layer classes and the data access classes to your diagram from part a.

  The government requires employers to provide health

Suppose that the government requires employers to provide health (or dental) insurance. How might that requirement affect the supply of and demand for labor in competitive markets?

  When deleting elements from a hash table with linear probing

When deleting elements from a hash table with linear probing, a special marker needs to be inserted in place of each deleted elements. Give an algorithm to perform deletion without the use of a special marker.

  Write subroutine in marie assembly that multiplies two value

Write a subtoutine in MARIE assembly that multiplies two values where the arguments for this subroutine are two pointers (each pointer pointing to a value). The routube, multiply (a,b), performs *a x *b where a's value is the address storing the valu..

  Research the tcp protocol and choose one tcp topic

Write a tutorial which consists of detailed instructions on the use of an IP related topic

  What is the value of using new and delete in c++

Show the output from the following program. If an unknown value gets printed, write U.

  Construct a vector containing all of the even numbers

Construct a vector containing all of the even numbers between 6 and 33, inclusive of the end points. Store your answer in the variable evens. (Note: 33 is not an even number)

  Managing information technology projects

Managing information Technology projects,   1- What are some of the key outputs of each process groups?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd