Write a matlab that given a sequence of samples

Assignment Help MATLAB Programming
Reference no: EM13860794

1. Write a MATLAB or Octave program that, given a sequence, f[k], of samples in the time domain, calculates a filtered output y[k], given by the formula y[k]=-a_2[k-1]-a_1y[k-2]-a_0y[k-3]+b_3f[k]+b_2f[k-1]+b_1f[k-2]+b_0f[k-3]. The values y are outputs, k is an index into a sequence, (so if "now"=k, one sample in the past is k-1), there are coefficient vectors a and b, which can be input parameters to the function. Make up a sequence f. Plot the input f and that output, y.

2. What do we know about the coefficient vectors a, b, if we know the filter is a finite impulse response filter?

3. Use a symmetric sequence for the coefficient sequence b, and zero for the values of the coefficient sequence a. Calculate the FFT of the sequence y, call it Y. Plot the phase of Y vs. frequency.(See https://www.embedded.com/design/real-time-and-performance/4008837/DSP-Tricks-An-odd-way-to-build-a-simplified-FIR-filter-structure for a description of symmetric coefficients.)

Reference no: EM13860794

Questions Cloud

Examine religious beliefs common to all forms of buddhism : Examine basic religious beliefs common to all forms of Buddhism and how does it compare to basic Hindu religious beliefs?
Understanding quantitative relationships : Vivian was above average in understanding quantitative relationships such as "more/less", "longer/shorter", in counting skills, in classifying objects (e.g., types of animals) and in solving age-appropriate reasoning tasks. Your friend recommended..
Develop a personalized academic writing plan : Some of us process our thoughts out loud as we describe them to others. In an academic environment, you will be asked to record your ideas in writing or "thinking on the page" to show the new knowledge that you've acquired through reading and list..
Explain some limitations of using gdp : What are some of the problems with using the CPI as a measure of standard of living?
Write a matlab that given a sequence of samples : Write a MATLAB or Octave program that, given a sequence, f[k], of samples in the time domain, calculates a filtered output y[k], given by the formula y[k]=-a_2[k-1]-a_1y[k-2]-a_0y[k-3]+b_3f[k]+b_2f[k-1]+b_1f[k-2]+b_0f[k-3].
Analyze working conditions in foreign manufacturing plants : Analyze the working conditions in foreign manufacturing plants or other work environments which may open the door for union organizing. Analyze the challenges for multi-national companies based in the United States to ensure that the global workpl..
Determine the appropriate descriptive statistics. : Determine the appropriate descriptive statistics.
How unionization affects individual employees : Concepts should include the following: Historical information regarding unions that may carry from now into the future. How unionization affects individual employees, management, and companies in general
Describe general characteristics and practices of shamans : Describe the general characteristics and practices of shamans. In your answer explain how shamans differ from priests or any other religious leaders.

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