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

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

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