Created an exponentially faded version of a given sinusoidal

Assignment Help Accounting Basics
Reference no: EM13918259

In Lab 2, you learned various plotting techniques and created an exponentially faded version of a given sinusoidal signal. In this assignment, you will use the so-called Hamming window to obain a modified sinusoid with symmetric fading
characteristics.
Your code should generate three signal vectors and plot them in a SINGLE figure consisting of THREE subplots, arranged in a column. The SUBPLOT function should be used. EACH subplot should have labels on the horizontal and vertical axes, as well as an appropriate title (e.g., INPUT SIGNAL, WINDOW, OUTPUT SIGNAL).

(i) Evaluate the signal vector x which contains samples of the sinusoid x(t) = cos( 7*pi*t/8 )
for t = -20:0.01:20 . Plot x against t in the first subplot. Calculate number of entries in the vector x, and write the result in comments.
(ii) Type "help hamming" to read the docummentation on the function HAMMING. Use the command

w = hamming(N)
where N takes a suitable value, to generate a vector w having the same length as x in part i). Plot w against t in the second subplot.

(iii) Using the transpose operator and element-by-element multiplication (as needed), "apply" the Hamming window w to x. This means multiplying each entry of x by the corresponding entry of w. Denote the resulting vector by y. Plot y in the third subplot.

Submit a zip/rar package containing the following two files (use exact file names as shown):

lastname_labhw_02.m M-file containing the MATLAB code and any additional comments or explanations on separate lines preceded by % (comment character).
Please put your name and student ID on the first line. lastname_labhw_02.pdf Figure saved in PDF format.
The zip/rar package should be named as

Reference no: EM13918259

Questions Cloud

Create a debate of current event or controversial topic : Write a 1,750- to 2,100-word debate paper in which you create a debate of a current event or other controversial topic and provide an analysis of arguments presented for both sides. Complete the following sections in the paper:
Sampling distribution of sample mean : Use software to find the descriptive statistics of the variable Spending. Copy and paste your output below and answer the following questions: If you need to review how to do this, see question 4 on lab activity 2!
What are the areas of growth and decline : Recent GDP Data in Detail - the BEA's January 29, 2010 real GDP estimates is a detailed breakdown of the data by sector and specific types of goods and services, investments, and trade, from 2006 through 2009. Take a good look at the data. What ar..
What are the steady-state probabilities of the system being : What are steady-state probabilities of the system being in the running and down states? What is the breakeven cost for the new hardware component on a time-period basis?
Created an exponentially faded version of a given sinusoidal : Your code should generate three signal vectors and plot them in a SINGLE figure consisting of THREE subplots, arranged in a column. The SUBPLOT function should be used. EACH subplot should have labels on the horizontal and vertical axes, as well..
Determination of the discharge coefficient of the orifice : This is a fluid dynamics experiment involving the filling and emptying of tanks. The objectives of the experiment include: Determination of the discharge coefficient of the orifice and the equivalent length of a pipe mounted at the outlet of the two..
Effect of super heat on rankine cycle efficiency : Explain with neat sketch the effect of super heat on Rankine cycle efficiency - Draw a line diagram and T-S diagram for Ideal regenerative cycle, obtain the expression of its efficiency and turbine work. State the limitations of the Ideal regenerat..
Common law or the uniform commercial code : Determine if the contracts with the businesses will be governed by common law or the Uniform Commercial Code (UCC), and explain why.
What is the probability that system will be in delay state : What is the probability that for the next 60 minutes (two time periods) the system will be in the delay state? Note that this result is the probability of being in the delay state for two consecutive periods.

Reviews

Write a Review

Accounting Basics Questions & Answers

  Journal entry to record orbits sale

Orbit Airways ourchased a baggage-handling truck for $41,000. Suppose Orbit sold the truck on December 31,2008 for $28,000 cash,, after using the truck for two full years and accumulationg depreciation of $16,000. Make the journal entry to record ..

  In return on investment calculations we should measure

in return on investment calculations we should measure invested capital becasue.at the beginning of the period it is a

  On jan 12006 a corporation leased equipment to another

on jan. 12006 a corporation leased equipment to another corporation. the lease is for 8 yrs. the first payment of

  Explain the advantages and disadvantages of using analysis

discuss the advantages and disadvantages of using analysis trees. do you think using an analytical tree approach would

  You have the opportunity to purchase an office building you

1 you have the opportunity to purchase an office building. you have a tenant lined up that will generate 16000 per year

  Process to increase company net income

Disney's variable costs are 30% of sales. The company is contemplating an advertising campaign that will cost $22,000. If sales are expected to increase $40,000, by how much will the company's net income increase? and what is the process?

  Identify the four basic financial statements

Identify the four basic financial statements. Describe the purpose of each of the four financial statements.

  In determining the dollar amount to use for operating

in determining the dollar amount to use for operating assets in the return on investment roi calculation companies will

  Compute the materials price and usage variances

Emerson produces all of its toasters in a single plant. Normal activity is 45,000 units per year. Standard overhead rates are computed based on normal activity measured in standard direct labor hour. During the year, Emerson experienced the follow..

  Starsky is an internal auditor and the lead on the companys

starsky is an internal auditor and the lead on the companys fraud risk assessment. in the past he and hutch an accounts

  What amount can kevin exclude from gross income

Kevin is a candidate for an undergraduate degree at a local university. During 2010, he was granted a fellowship that provided the following: What amount can Kevin exclude from gross income in 2010?

  Match the terms with their correct definition

The debtor promises to pay the creditor a definite sum at a future date usually with interest.

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