【正文】
00 350 400 450 500 4 0 0 3 0 0 2 0 0 1 0 00Fr e q u e n c y ( H z )Phase (degrees)0 50 100 150 200 250 300 350 400 450 500 1 0 0 5 00Fr e q u e n c y ( H z )Magnitude (dB) 圖 阻濾波器 實驗仿真平臺的特點 虛擬實驗仿真平臺和傳統(tǒng)模擬實驗相比較 ,具有以下優(yōu)點 : ①層次分明的結(jié)構(gòu)設計 ,完全圖形化的用戶界面 ,點擊鼠標輸入數(shù)據(jù)即能完成實驗 ; ② 內(nèi)容安排上使學生 對本課程的內(nèi)容有統(tǒng)一認識 ,可以滿足多層次的實驗要求 ,用戶可在較短的時間內(nèi)完成實驗內(nèi)容 ,可以做創(chuàng)新性和設計型實驗 ,可以用于輔助教學 ; ③ 與傳統(tǒng)實驗用示波器觀察相應曲線相比 ,實驗結(jié)果的準確、直觀、形象。 0 0 . 1 0 . 2 0 . 3 0 . 4 0 . 5 0 . 6 0 . 7 0 . 8 0 . 9 1 4 0 0 0 3 0 0 0 2 0 0 0 1 0 0 00N o r m a l i z e d Fr e q u e n c y ( ? ? r a d / s a m p l e )Phase (degrees)0 0 . 1 0 . 2 0 . 3 0 . 4 0 . 5 0 . 6 0 . 7 0 . 8 0 . 9 1 3 0 2 0 1 0010N o r m a l i z e d Fr e q u e n c y ( ? ? r a d / s a m p l e )Magnitude (dB) 圖 FIR帶阻濾波器 繼續(xù)保持濾波器類型為 FIR,選擇通帶類型為低通濾波器,通帶 +阻帶為,窗函數(shù)類型為矩形窗,點擊生成濾波器按鈕出現(xiàn)如圖 所示,這是一個矩形窗 FIR低通濾波器。從上往下分別為正弦波,三角波以及 正弦 波與 三角波的 相加圖。有助于學習數(shù)字信號處理這門課程,加深對信號運算的理解, 對掌握濾波器更是有很大的幫助 。 基于 matlab 的數(shù)字信號處理虛擬實驗仿真平臺主界面 用 matlab 進行編程,利用 matlab 的 GUI 功能來設計仿真平臺的主界面 這個程序運行之后形成圖 。 4)對象瀏覽器 (Object Browser) 在 GUI 面板中點擊對象瀏覽按鈕可打開對象瀏覽器 ,在該瀏覽器中可以方便地顯示出所有的圖形對象 ,單擊該對象則可以打開相應的屬性編輯器。 GUI 設計即可以基本的 MATLAB 程序設計為主 ,也可以鼠標為主利用 GUIDE工具進行設計。 反變換公式: f( x, y) =N vyM uxvuFvcucMu Nv 2 )12(c o s2 )12(c o s),()()(10 10 ???? ??? ?? ?? x=0,1,…… ,M1。為了工程上實現(xiàn)的需要,國內(nèi)外許多學者花費了很大精力去尋找或改進 DCT 的快速算法。) xlabel(39。\omega/\pi39。)。ylabel(39。 h=freqz(num,den,w)。 a=[1 ]。 freqz(b, a, N) 該調(diào)用方式將繪制系統(tǒng)在 ( 02) 范圍內(nèi) N個頻率等分點的幅頻特性和相頻特性圖, N 的缺省值為 512。 在 matlab 中 , 可以借助函數(shù) tf2zp 來直接得到系統(tǒng)函數(shù)的零點和極點的值,函數(shù) tf2zp 的作用是將 H(z)轉(zhuǎn)換為用零點、極點和增益常數(shù)組成的表示式,即: )) . . . ()(( )) . . . ()(()( )()( 21 21 nmpzpzpz zzzzzzCzA zBzH ??? ????? () tf2zp 函數(shù)的調(diào)用形式如下: [z,p,C]=tf2zp(b,a) 例 :已知一離散系統(tǒng)的系統(tǒng)函數(shù) 23 )(22 ?? ??? zz zzzH ,試繪制其 零極點圖。其調(diào)用形式為: F=ztrans(f) %求符號函數(shù) f的 z變換,返回函數(shù)的自 變量為 z; F=ztrans(f,w) %求符號函數(shù) f的 z變換,返回函數(shù)的自變量為 w; F=ztrans(f,n,w) %對自變量為 n 的符號函數(shù) f 求 z 變換,返回函數(shù)的自變量為 w。 時不變系統(tǒng)實例:)2(24 )1(49 )(24 )2()1()( ????????? nxnxnxnynyny () 時變系統(tǒng)實例: )1()()( ??? nxnnxny () 仿真并比較這兩個系統(tǒng)。系統(tǒng)具有因果性的充分必要條件為 h(n)=0,n0 () 系統(tǒng)的穩(wěn)定性 穩(wěn)定系統(tǒng)是指有界輸入產(chǎn)生有界輸出 的系統(tǒng)。 matlab 的工作環(huán)境 所謂工作環(huán)境是指:幫助系統(tǒng)、工作內(nèi)存管理、指令和函數(shù)管理、搜索路徑管理、操作系統(tǒng)、程序調(diào)試和性能剖析工具等。 MATLAB 進行數(shù)值計算的基本處理單位是復數(shù)數(shù)組(或稱陣列),并且數(shù)組維數(shù)是自動按照規(guī)則確定的。 1997 年仲春, 版問世,緊接著是 、 ,以及和 1999 年春的。這樣,實驗就能在短時間內(nèi)高效地完成 [5]。 ( 3)基于 matlab 的 IIR 數(shù)字濾波器的設計。例如:極點留數(shù)分解、 Z 反變換、求數(shù)字濾波器的頻率響應、繪制濾波器本科畢業(yè)設計論文 5 的零極點圖等。 matlab 提供的工具箱已覆蓋信號處理、系統(tǒng)控制、統(tǒng)計計算、優(yōu)化計算、神經(jīng)網(wǎng)絡、小波分析、偏微分方程、模糊邏輯、動態(tài)系統(tǒng)模擬、系統(tǒng)辨識和符 號運算等各個領域 [1]。 關鍵詞 : matlab,數(shù)字信號處理,新興 本科畢業(yè)設計論文 II ABSTRACT Matlab software is launched in 1984 MathWork mathematical software. The first development philosophy is to provide a plete matrix operations the evolution of numerical puting needs, matlab has bee a variety of system simulation, digital signal processing and visualization of the standard is the international one of the most popular software. With a wide range of systems analysis to solve problems,it is one of many scientists and engineers working platform of choice for designers and master the use of matlab, and is helpful to students to broaden employment options for the surface. Digital signal processing is a widely used but many disciplines involved in many areas of emerging disciplines. It is the sequence of numbers or symbols, or special handling by puter equipment, processed using digital means to achieve more in line with the requirements of the signal form of the people. It can be analog in nature, continuous signal sampling, quantization is converted to digital signals, then the filter, transform, valuation, enhancement, pression, and recognition processing. With the puter technology and the rapid development of large scale integrated circuit, digital signal processing technology has also been rapid development and wide application. Matlab in this paper is to introduce the use of digital signal processing, including the use of the discrete time representation and matlab and systems. A typical signal generation and signal operation Functions, in digital signal processing theory and signal processing toolbox of matlab based on the preparation of Functions, Functions include: the signal of the addition, multiplication, shift and parity Convolution. matlab in the Z transform, Fourier transform of. Achieved by pole residues deposition matlab, Z inverse transform, find the digital filter frequency response, polezero filter to draw maps, fast Fourier transform and inverse transform, chirp Z transform, discrete cosine transform and inverse transform is And so on. IIR digital filter design based on matlab. FIR filter design based on is to test equipment onto a puter screen, due to time constraints, this is just a simple design with matlab platform, the platform can be some simple digital signal processing experiments. Keywords: matlab, digital signal processing, new 目錄 本科畢業(yè)設計論文 III 第一章 緒論 ........................................................ 4 研究的意義和背景 ............................................. 4 研究的目的 ................................................... 4 研究的內(nèi)容 ................................................... 5 國內(nèi)外研究發(fā)展情況 ........................................... 5 第二章 matlab 的介紹 ................................................ 7 matlab 簡介 ................................................. 7 matlab 語言的發(fā)展歷程和影響 ................................. 7 matlab 語言的特點 ............................................ 7