联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp

您当前位置:首页 >> Matlab编程Matlab编程

日期:2019-12-15 10:35

Assignment 2: Design of Digital Filters

Introduction

In this exercise you are required to design several digital filters using Matlab. Each student will be given a

different set of design specifications. For this assessment you must submit the filter coefficients for each of

the designed filters.

Your individual set of design specifications can be found in the file :

DFSA\restricted\xxxxxxx\assignment2_xxxxxx.htm

Where xxxxxxx is your UOB username.

Note that all 4 filters will have the same values of sampling and pass-band frequencies. The 2 FIR filters

will have the same filter order, and the 2 IIR filters will have the same order.

Submission procedure

You should submit your solution as a single Matlab .mat file to the following address:

DFSA\restricted\xxxxxxx\submit\assignment2_xxxx.mat

Where xxxxxx is your UOB username.

The .mat file should contain 6 row vectors b1, b2, a3, b3, a4, b4 specifying the coefficients (numerator

bx and denominator ax) for each of the 4 filters. Since filters 1 and 2 are FIR, their denominators a1 and

a2 will be 1 and need not be specified.

You should use the Matlab save command to generate this file. Do not try to cut and paste coefficient

values, as this may not give sufficient precision and may result in unstable filters and poor marks.

Please do not include any other data in your .mat file. See Matlab help on the save command for saving

individual variables.

The following script can be used to check your .mat file:

load(‘filename’);

freqz(b1, 1);

pause

freqz(b2, 1);

pause

freqz(b3, a3);

pause

freqz(b4, a4);

pause

The assignment will be marked out of 20 with 5 marks for each filter.

Note: Failure to follow these instructions may result in loss of marks for the assignment.


版权所有:编程辅导网 2018 All Rights Reserved 联系方式:QQ:99515681 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。