Compare filter with that given by matlab function bilinear

Assignment Help MATLAB Programming
Reference no: EM13869640

Assignment: COMPUTATIONAL AND EXPERIMENTAL METHODS

Experimental Methods- Signal Filtering

Several sets of data have been generated which contain ~4000 data points, sampled at 100 Hz and are made up of the superposition of several sine waves at different frequencies and of different magnitude. You can find your specific file and damping ratio to use via the VLE. This should be used in a filter as discussed below. The data files can be downloaded from the assignments section.

After copying to your user area and unzipping the files, the appropriate file can be loaded into a Matlab program by entering
load filename

The data to be analyzed will be contained in a variable y and is of the form y = f(t)

1) Using Matlab, read in the data file and, for the first 100 data points, produce a graph of amplitude against time.

2) Fourier transform this data (noting that there are 4000 data points) and produce a power spectrum, clearly stating the units on each axis. Hence, for each sine wave determine the constants A and W in the equation y = A sin(Wt).

3) Manually design a second order digital filter, with the damping ratio given in the table, to attenuate the highest frequency component found as much as possible while changing the amplitude of the other waves as little as possible. Clearly justify any choice of filter parameters. Manually this filter using bilinear transformation.

4) Compare your filter with that given by the Matlab function ‘bilinear' for the same conditions. The syntax for this filter is

[n,d] =bilinear(num ,[ den1 den2 den3] ,sample _frequency )

Where num is the numerator of the second order filter and den1, den2 and den3 are the three terms in the denominator. The numerator and denominator frequencies should be in rad/sec while the sample frequency should be in Hz, to match the input data.

5) Using the Matlab function ‘filter', use the second order filter to remove the highest frequency component from the original signal. Produce a graph of amplitude against time and a periodogram (power spectrum) for the filtered data and original data.

6) Manually calculate the amplitude ratio of the two highest frequencies, i.e. the frequency that should have been removed and the next highest one that should have been ‘passed' by the filter) and compare the values with those suggested by the periodogram. Suggest reasons for any differences. What would have been the effect of (a) using a first order filter, and (b) changing the damping ratio.

You may find it helpful to work through the file MatlabExercise_FrequencyAnalysis_LowPassFiltering.pdf before attempting the assignment

Reference no: EM13869640

Questions Cloud

Identify key characteristics of the facility : Identify key characteristics of the facility
Identify the criteria used in ranking top global companies : Find one such ranking system and identify the criteria used in ranking top global companies. Although some of these rankings require subscriptions.
Calculate the financial ratios : Calculate the financial ratios
What is the standard deviation of return of stock : What is the standard deviation of return of stock
Compare filter with that given by matlab function bilinear : Compare your filter with that given by the Matlab function ‘bilinear' for the same conditions. Manually design a second order digital filter, with the damping ratio given in the table.
What is juniors weighted average cost of capital : What is Juniors Weighted Average Cost of Capital
Difference between calling a bond and a bond refunding : difference between calling a bond and a bond refunding.
Thesis statement is poverty a choice : Write 700 to 1000 words about - Thesis statement Is poverty a choice
What is overgrazing? : What is overgrazing? What effect does this have on rangelands?

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Determine the specular component

Reparemeterizing each pixel point using spherical coordinates and rotation RGB color space to SUV color space in the paper

  Implement the finite difference method

Write a computer program to implement the finite difference method. The program can be in any computer language that is available within the school. Set up the code to find the potential for a parallel plate capacitor in the box shown below, all dime..

  What is the purpose of the diary command in matlab

Write the MATLAB code for adding the integers 6 and 3, and storing the sum in a variable x. Write the MATLAB code that takes the square root of 9

  A good way to structure this program

A good way to structure this program is to read in each "number" as a string of characters, look at the first character to determine what kind of number it is (hex, binary, decimal), and then call an appropriate function to convert the string into..

  Matlab m-script that will generate a damped sinusoid

1.) Write a MATLAB m-script that will generate a damped sinusoid (frequency = 440 Hz) with a time constant of 0.25 sec. Set the time axis for 0 to 6 time constants.

  Matlab inline functions

Consider g(t)=e^(-2t) cos?(πt)(u(t)-u(t-2.5)), use Matlab inline functions for the following questions

  Write a function that takes a list of integers as argument

Write a function that takes a list of integers as argument and returns a pair consisting of the sum of the even positions and the sum of the odd positions of the list. You should not use any auxiliary functions.

  Calculate and display the altitude and velocity of rocket

Write a program that will solve the problem specified above( for the rocket). However, lit user of your program is to insert the starting height, and the time the rocket travels.

  The length of hose is 275 feet and the system is to be

a system for delivering lawn fertilizer in liquid form. the nozzle on the end of the hose requires 20 psig of pressure

  Ilab overview

you will develop a policy statement and the processes and procedures that can be used to drive the design, implementation, and maintenance of a wireless network in a SOHO (small office, home office) setting.

  Matlab code to create the global stiffness matrix

Write a MATLAB code to create the global stiffness matrix for a problem with 6 unconstrained degrees of freedom for any linear elastic two dimensional trusses.

  Write a curried function to add n

Write a curried function to add N (where N is an integer) to each item of a list.

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