版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、Chapter 3-4. Discrete-Time Signals and SystemsMain ContentsImportant types of signals and their operationsLinear and shift-invariant systemEasier to analyze and implementThe convolution and difference equation representationsRepresentations and implementation of signal and systems using MATLABDiscre
2、te-time signalsAnalog and discrete signalsanalog signal t represents any physical quantity, time in sec.Discrete signal: discrete-time signalN is integer valued, represents discrete instances in timesDiscrete-time signalIn Matlab, a finite-duration sequence representation requires two vectors, and e
3、ach for x and n.Example:Question: whether or not an arbitrary infinite-duration sequence can be represented in MATLAB?Types of sequencesElementary sequence for analysis purposes1. Unit sample sequenceRepresentation in MATLABFunction x,n=impseq(n0,n1,n2)A: n=n1:n2; x = zeros(1,n2-n1+1); x(n0-n1+1)=1;
4、B: n=n1:n2; x = (n-n0)=0; stem(n,x,ro);Program P1_12. Unit step sequenceA: n=n1:n2; x=zeros(1,n2-n2+1); x(n0-n1+1:end)=1;B: n=n1:n2; x=(n-n0)=0;3. Real-valued exponential sequenceFor Example:n=0:10; x=(0.9).n; stem(n,x,ro);Program P1_3MATLAB中數(shù)組、矩陣基本運算符 運算 符號 舉例加法,a+b + 1 2+3 4 1,2+3減法,a-b - 1 2-3 4
5、1,2-3乘法,a*b * 1,2*3 1,2*3,4 a.*b .* 1,2.*3,4=3,8逆乘,左乘 ax=b x=ab=inv(a)*b 右乘 / xa=b x=b/a=b*inv(a)乘冪,方陣的冪 a2=a*a 元素的冪 . a.2 x.34. Complex-valued exponential sequenceAttenuation: 衰減因子frequency in radians:For Example: n=0:10; x=exp(2+3j)*n);5. Sinusoidal sequencePhase in radiansFor Example:n=0:10; x=3*
6、cos(0.1*pi*n+pi/3)+2*sin(0.5*pi*n)6. Random sequenceRand(1,N)Generate a length N random sequence whose elements are uniformly distributed between 0,1Randn(1,N)Generate a length N Gaussian random sequence with mean 0 and variance 1. en 0,17. Periodic sequenceA sequence x(n) is periodic if x(n)=x(n+N)
7、The smallest integer N is called the fundamental periodFor exampleA: xtilde=x,x,x,xB: xtilde=x*ones(1,P); xtilde=xtilde(:); xtilde=xtilde; transpositionOperations on sequence1. Signal additionSample-by-sample additionx1(n)+x2(n)=x1(n)+x2(n)3. Scalingax(n)=ax(n)5. foldingy(n)=x(n-k)m=n-k; y=x;4. Shif
8、tingy(n)=x(-n)y=fliplr(x); n=-fliplr(n);6. Sample summation ss = sum(x(n1:n2);7. Sample production sp = prod(x(n1:n2);8. Signal energy se = sum(x .* conj(x); or se = sum(abs(x) . 2);9. Signal powerSome useful resultsUnit sample synthesisAny arbitrary sequence can be synthesized as a weighted sum of
9、delayed and scaled unit sample sequence. Even and odd synthesis Even (symmetric): xe(-n)=xe(n)Odd (antisymmetric): xo(-n)=-xo(n)Any arbitrary real-valued sequence can be decomposed into its even and odd component: x (n)=xe(n)+ xo(n) The geometric seriesA one-side exponential sequence of the form an,
10、 n=0, where a is an arbitrary constant, is called a geometric series.Expression for the sum of any finite number of terms of the seriesCorrelations of sequencesIt is a measure of the degree to which two sequences are similar. Given two real-valued sequences x(n) and y(n) of finite energy,Crosscorrel
11、ationAutocorrelationThe index l is called the shift or lag parameter.The special case: y(n)=x(n)Voice recognitionCrosscorrelation outputDiscrete SystemsMathematically, an operation T.y(n) = T x(n)x(n): excitation, input signaly(n): response, output signalClassificationLinear systemsNonlinear systems
12、Linear operation L.Iff L. satisfies the principle of superpositionThe output y(n) of a linear system to an arbitrary input x(n) is called impulse response, and is denoted by h(n,k)h(n,k): the time-varying impulse responseLinear time-invariant (LTI) systemA linear system in which an input-output pair
13、 is invariant to a shift n in time is called a linear times-invariant systemy(n) = Lx(n) - y(n-k) = Lx(n-k)The output of a LTI system is call a linear convolution sumAn LTI system is completely characterized in the time domain by the impulse response h(n).Properties of the LTI systemStabilityA syste
14、m is said to be bounded-input bounded-output (BIBO) stable if every bounded input produces a bounded output.Condition: absolutely summableTo avoid building harmful systems or to avoid burnout or saturation in system operationProperties of the LTI systemCausalityA system is said to be causal if the o
15、utput at index n0 depends only on the input up to and including the index n0The output does not depend on the future values of the inputCondition: h(n) = 0, n 0Such a sequence is termed a causal sequence.To make sure that systems can be built. ConvolutionConvolution can be evaluated in many differen
16、t waysIf the sequences are mathematical functions, then we can analytically evaluate x(n)*h(n) for all n to obtain a functional form of y(n)Graphical interpretation, folded-and-shifted versionFunction form of convolutionThree different conditions under which u(n-k) can be evaluated:Case 1: n0 % the
17、nonzero values of x(n)and y(n) do not overlap.Case 2: 0=n=9 % completely overlapsFolded-and-shiftedSignals x=x(1),x(2),x(3),x(4),x(5)System Impulse Response: h=h(1),h(2)h(3),h(4)y=conv(x,h)y(1)=x(1)*h(1); y(2)=x(1)*h(2)+x(2)*h(1)y(3)=x(1)*h(3)+x(2)*h(2)+x(3)*h(1); x(1),x(2),x(3),x(4),x(5) h(4),h(3),
18、h(2),h(1)Note that the resulting sequence y(n) has a longer length than both the x(n) and h(n) sequence.Sequence correlations revisitedThe correlation can be computed using the conv function if sequences are of finite duration.Example 2.8The meaning of the crosscorrelationThis approach can be used i
19、n applications like radar signal processing in identifying and localizing targets.Difference EquationAn LTI discrete system can also be described by a linear constant coefficient difference equation of the formIf aN = 0, then the difference equation is of order NIt describes a recursive approach for
20、 computing the current output,given the input values and previously computed output values.Solution of difference equationy(n) = yH(n) + yP(n)Homogeneous part: yH(n)Particular part: yP(n)Analytical approach using Z-transform will be discussed in the funtureNumerical solution with Matlaby = filter(b,
21、a,x)Zero-input and Zero-state responseIn DSP the difference equation is generally solved forward in time from n=0. Therefore initial conditions on x(n) and y(n) are necessary to determine the output for n=0.Subject to the initial conditions:Solution:Zero-input and Zero-state responseyZI(n): zero-input solutionA solution due to the ini
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 高考物理總復(fù)習(xí)專題二相互作用實驗二探究彈力和彈簧伸長量的關(guān)系練習(xí)含答案
- 江蘇省2015-2015學(xué)年高中英語 Unit3 Amazing people project教案 牛津譯林版必修2
- 八年級歷史下冊 第12課 欣欣向榮的科教文體事業(yè)教案 北師大版
- 2024年九年級語文上冊 第二單元 第6課《敬業(yè)與樂業(yè)》說課稿 新人教版
- 2024-2025學(xué)年高中語文 第二單元 珠星碧月彩云中 4 詞三首(一)教案 語文版必修3
- 2023四年級數(shù)學(xué)下冊 4 小數(shù)的意義和性質(zhì) 3小數(shù)點移動引起小數(shù)大小的變化第2課時 小數(shù)點移動引起小數(shù)大小變化的規(guī)律(2)配套教案 新人教版
- 二年級語文上冊 課文3 9 黃山奇石教案 新人教版
- 2024-2025學(xué)年新教材高中歷史 第八單元 中華民族的抗日戰(zhàn)爭和人民解放戰(zhàn)爭 第24課 全民族浴血奮戰(zhàn)與抗日戰(zhàn)爭的勝利教案3 新人教版必修《中外歷史綱要(上)》
- 變壓器報停委托書
- 租房電器超過使用年限合同(2篇)
- 2025屆高考語文一輪復(fù)習(xí):二元思辨類作文思辨關(guān)系高階思維
- 華中科技大學(xué)青年長江學(xué)者答辯模板
- 國開(甘肅)2024年春《地域文化(專)》形考任務(wù)1-4終考答案
- 《中國慢性阻塞性肺疾病基層診療與管理指南(2024年)》解讀
- HSK標準教程5下-課件-L7
- 檔案整理及數(shù)字化服務(wù)方案(技術(shù)標 )
- GHTF—質(zhì)量管理體系--過程驗證指南中文版
- 鋁及鋁合金焊接作業(yè)指導(dǎo)書
- 水利工程質(zhì)量與安全監(jiān)督工作實務(wù)PPT課件
- 放射性口腔粘膜炎的發(fā)病機制及危險因素
- 中國礦業(yè)大學(xué)礦山測量學(xué)課程設(shè)計
評論
0/150
提交評論