PRACTICAL MATLAB® FOR ENGINEERS PRACTICAL MATLAB
510 Practical MATLAB® Applications for Engineers figure(6) W=linspace(-2*pi,2*pi,100); DTFT _ f1=1./(1-0.3*exp(-j.*W)); DTFT _ f ...
DTFT, DFT, ZT, and FFT 511 − 4 − 3 − 2 − (^10) frequency W 1234 1.6 1.4 1.2 1 0.8 Magnitude 0.6 − 4 − 3 − 2 − (^10) frequency W ...
512 Practical MATLAB® Applications for Engineers − 4 − 3 − 2 − (^1) 01 23 4 1.6 1.4 1.2 1 0.8 0.6 − 4 − 3 − 2 − 1 0 frequency W ...
DTFT, DFT, ZT, and FFT 513 − 8 0.6 0.8 1 1.2 Magnitude Phase angle in rad. 1.4 1.6 − 6 − 4 − 2 0 frequency W 2468 − 8 − 6 − 4 − ...
514 Practical MATLAB® Applications for Engineers Example 5.3 Let the real sequence h(n) be given by its DTFT as follows: He jW e ...
DTFT, DFT, ZT, and FFT 515 Example 5.4 Given the discrete sequence f(n) = [1 2 3], a. Evaluate by hand the DTF coeffi cients of ...
516 Practical MATLAB® Applications for Engineers over the ranges 0 ≤ k ≤ 32 and 0 ≤ k ≤ 64. MATLAB Solution % Script file: DTFT ...
DTFT, DFT, ZT, and FFT 517 20 15 10 5 0 0 50 100 150 200 250 0 50 100 150 200 250 DTFT DTFT DFT for k = 32 DFT for k = 64 Magnit ...
518 Practical MATLAB® Applications for Engineers Example 5.6 Let the input sequence to a system be given by f(n) = [1 0 3 2], an ...
DTFT, DFT, ZT, and FFT 519 012345678 012345678 012345678 frequency W frequency W Phase of DFT[g(n)] versus W Magnitude of DFT[g( ...
520 Practical MATLAB® Applications for Engineers [Errors] versus time index n 4 × 10 −^15 2 0 Amplitude − 2 − 4 01234 time index ...
DTFT, DFT, ZT, and FFT 521 Note that the error in the evaluation of g(n) performed by comparing the linear convo- lution with re ...
522 Practical MATLAB® Applications for Engineers 20 30 time index n (^010405060) 0 0.2 0.4 0.6 Amplitude 0.8 1 f(n) versus t FIG ...
DTFT, DFT, ZT, and FFT 523 Example 5.8 Let a communication signal consist of a random noise signal plus an information signal f( ...
524 Practical MATLAB® Applications for Engineers 0 0.5 −1.5 − 1 −0.5 0 0.5 Amplitude 1 1.5 2 1 1.5 2 Time 2.5 3 3.5 × 10 −^3 4 [ ...
DTFT, DFT, ZT, and FFT 525 Example 5.9 Verify the linearity property of DFT that states, in short, the following: The sum of DFT ...
526 Practical MATLAB® Applications for Engineers and f(n) = f 1 (n) + f 2 (n) + f 3 (n) Create the script fi le linearity that r ...
DTFT, DFT, ZT, and FFT 527 subplot (3,1,2) stem(n,abs(DFT _ f2));hold on; stairs(n,abs(DFT _ f2)); ylabel(‘abs [ DFT[f2(n)]]’); ...
528 Practical MATLAB® Applications for Engineers [Magnitude of the DFTs of f1(n), f2(n) & f3(n)] versus W 0 5 10 15 0 5 10 1 ...
DTFT, DFT, ZT, and FFT 529 0 5 10 15 − 2 − 1 0 angle [DFT[fn(n)]] 1 2 frequency W in rad. 0 5 10 15 0 20 abs [DFT[f(n)]] 40 60 f ...
«
22
23
24
25
26
27
28
29
30
31
»
Free download pdf