当前位置:天才代写 > Matlab代写 > 滤波器设计代写 ECE 2671代写

滤波器设计代写 ECE 2671代写

2021-11-08 15:00 星期一 所属: Matlab代写 浏览:36

滤波器设计代写

ECE 2671 Project 1:

Filter Design using Linear Programming

 

滤波器设计代写 Vary the design parameters (in a scientific way) and show their impact on thegenerated filter  Your filter response graphs should show the magnitude


The goal of this project is to design a symmetric moving average filter using linear programming. You are required to submit well-commented Matlab code, labelled graphs and a very very very very short discussion based on the results. This is the first time thisproject has been assigned so expect a little bit of frustration. Enjoy the journey and do not be afraid to explore beyond what is asked.


Requirements  滤波器设计代写

 

  • Findthe coefficients a0, a1, . . . , aN of a symmetric moving average  These filters are used in engineering and finance and have the form

y(n) = aN x(n N ) + aN−1x(n N  1) + · · · a1x(N + 1) + a0x(n) + a1x(n  1) +

· · + aN−1x(n N + 1) + aNx(n N )

The frequency response of the filter is given by

H(ω) = a0 + a1 2cos(ω) + · · · + ai 2cos() + · · · + aN 2cos(N ω)

  • Selectthe coefficients to minimize the magnitude of the difference between the desired response and actual response, i.e.,

where ωi, i = 1, . . . , M are frequencies of your choice between 0 and π.

  • Allow a transition band of π/20 on either side of the cutoff frequency π/2 wherethe

response has no impact on the cost function.

滤波器设计代写
滤波器设计代写

Steps  滤波器设计代写

  • Expressthe problem as a linear programming problem and implement it in Matlab.
  • Your design parameters are N the order of the filter, M the number of frequencies in the cost function and ωi, i = 1, . . . , M the locations of the frequencies in the cost function. Vary the design parameters (in a scientific way) and show their impact on thegenerated filter  Your filter response graphs should show the magnitude response in dB vs frequency. (Matlab has a function freqz which may be of some use) Do not be afraid to put multiple curves on one graph to ease the comparisons.
  • You can trade off error in the passband with error in the stopband by changing the numberof frequencies you choose in each region or you can change your cost function to weight one type of error more than the  Reformulate the problem to use the latter approach, and demontrate the effect of weighting on the resulting response.
滤波器设计代写
滤波器设计代写

更多代写:人工智能代写 计算机代考 加拿大留学essay代写 加拿大经济学Essay代写 计算机paper代写 运筹学代写

合作平台:essay代写 论文代写 写手招聘 英国留学生代写

 

天才代写-代写联系方式