Skip to content Skip to navigation

Connexions

You are here: Home » Content » Multirate Filtering: Filter-Design Exercise in MATLAB (Thai Version)

Navigation

Recently Viewed

This feature requires Javascript to be enabled.

Multirate Filtering: Filter-Design Exercise in MATLAB (Thai Version)

Module by: Douglas L. Jones, Swaroop Appadwedula, Matthew Berry, Mark Haun, Jake Janovetz, Michael Kramer, Dima Moussa, Daniel Sachs, Brian Wade, Patrick Frantz, Kamolchanok Kriengchaipruck. E-mail the authors

Based on: Multirate Filtering: Filter-Design Exercise in MATLAB by Douglas L. Jones, Swaroop Appadwedula, Matthew Berry, Mark Haun, Jake Janovetz, Michael Kramer, Dima Moussa, Daniel Sachs, Brian Wade

User rating (How does the rating system work?)
Ratings

Ratings allow you to judge the quality of modules. If other users have ranked the module then its average rating is displayed below. Ratings are calculated on a scale from one star (Poor) to five stars (Excellent).

How to rate a module

Hover over the star that corresponds to the rating you wish to assign. Click on the star to add your rating. Your rating should be based on the quality of the content. You must have an account and be logged in to rate content.

:
(0 ratings)

Summary: You will design a low-pass finite impulse-response filter using the zero-placement method in MATLAB. The filter can be used as an anti-aliasing and anti-imaging filter in a multirate system.

Note: Your browser may not currently support MathML. See our browser support page for additional details. You can always view the correct math in the PDF version.

Filter-Design Exercise

ใช้วิธี zero-placement , ออกแบบ FIR filters สำหรับ multirate system ใน Multirate Filtering: Introduction. ให้นึกถึง z z-transform ที่ มีความยาวของ FIR filter - N Nเป็น polynomial ในรูป z-1 z -1 , โดยที่ polynomial ดังกล่าวสามารถแยกส่วนประกอบได้เป็นจำนวน N1 N 1

Hz= h 0 + h 1 z-1+ h 2 z-2+= z 1 z-1 z 2 z-1 z 3 z-1 H z h 0 h 1 z -1 h 2 z -2 z 1 z -1 z 2 z -1 z 3 z -1 (1)

ใช้ความสัมพันธ์นี้ในการออกแบบ low-pass filter (สำหรับ anti-aliasing และ anti-imaging filters ของ the multirate system) โดยการแทนที่ complex zeros ทั้ง 12 ตัวบน unit circle ที่ ±3π8 ± 3 8 , ±π2 ± 2 , ±5π8 ± 5 8 , ±3π4 ± 3 4 , ±7π8 ± 7 8 , และ ±π ± . Filter ที่ออกแบบโดยวิธีนี้จะสามารถใช้ได้กับทั้ง FIR 1 และ FIR 3. สำหรับ filter FIR 2 (operating at the decimated rate), ใช้ equally-spaced zeros สี่ตัว บน unit circle ที่ตำแหน่ง ±π4 ± 4 และ ±3π4 ± 3 4 . อย่าลืมปรับค่า resulting filter coefficients เพื่อให้แน่ใจว่าค่า gain จะไม่เกินค่า exceed one at any frequency.

ออกแบบ filter ของคุณ โดยการเขียน MATLAB script เพื่อคำนวณค่า filter coefficients จากจุด zero location ที่ให้ไป. MATLAB function polyจะช่วยได้ ให้พิมพ์คำว่า help poly เพื่อเรียนรู้วิธีการใช้คำสั่ง

เมื่อคุณเลือก coefficients ที่จะใช้สำหรับ filter ได้แล้ว, ใช้ MATLAB function freqz ในการสร้างกราฟ frequency responses. คุณจะพบว่า ช่วง frequency response ของ filters เหล่านี้มี ช่วง gain ที่มาก. ทำการปรับค่า resulting filter coefficients เพื่อให้แน่ใจว่า ค่า frequency gain ที่มากที่สุดมีค่าน้อยกว่า หรือเท่ากับ หนึ่ง โดยทำการหารค่า coefficients ด้วยค่าที่เหมาะสม ค่า frequency responses ที่ได้ตรงกับที่คาดไว้หรือไม่โดยอิงจาก ตำแหน่ง ศูนย์ใน z-plane?

Content actions

Give Feedback:

E-mail the module authors | Rate module ( How does the rating system work?)

Rating system

Ratings

Ratings allow you to judge the quality of modules. If other users have ranked the module then its average rating is displayed below. Ratings are calculated on a scale from one star (Poor) to five stars (Excellent).

How to rate a module

Hover over the star that corresponds to the rating you wish to assign. Click on the star to add your rating. Your rating should be based on the quality of the content. You must have an account and be logged in to rate content.

(0 ratings)

Download:

Add module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.

| A lens (?)

Definition of a lens

Lenses

A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual Connexions member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks