PRACTICAL MATLAB® FOR ENGINEERS PRACTICAL MATLAB
70 Practical MATLAB® Applications for Engineers Example 1.11 Given the discrete transfer function Hz zzz zzz () .... ... ...
Time Domain Representation of Continuous and Discrete Signals 71 figure(1) subplot(2,2,1); Y1 = filter(P, Q, I); n=0:29; yzero=z ...
72 Practical MATLAB® Applications for Engineers Example 1.12 The set of signals given by f(t) = ejnwot for n = 0 , ± 1 , ± 2 , . ...
Time Domain Representation of Continuous and Discrete Signals 73 Example 1.13 Repeat Example 1.12, by creating the script fi le ...
74 Practical MATLAB® Applications for Engineers Create the script fi le even_odd that returns, using 201 points over the range − ...
Time Domain Representation of Continuous and Discrete Signals 75 disp(energyfodd) disp(‘ (in joules)’) disp(‘******************* ...
76 Practical MATLAB® Applications for Engineers Example 1.15 Let the discrete sequence f(n) = 4n0.8nu(n) be contaminated by a ra ...
Time Domain Representation of Continuous and Discrete Signals 77 plot(n,y);title(‘Noise vs. n’);hold on; stem(n,noise);hold on;p ...
78 Practical MATLAB® Applications for Engineers FIGURE 1.63 Plots of f(n), noise signal[n(t)], and [f(n) + n(t)] of Example 1.15 ...
Time Domain Representation of Continuous and Discrete Signals 79 Various moving averages 10 5 0 signal signal+noise moving ave/2 ...
80 Practical MATLAB® Applications for Engineers Example 1.16 Let f(t) = te−1000t u(t) Create the script fi le sample_data that r ...
Time Domain Representation of Continuous and Discrete Signals 81 figure(2) % reconstructions f25 = 0; for k = 1:1:26; fr25 = fd( ...
82 Practical MATLAB® Applications for Engineers 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 0 0.5 1 1.5 2 2. ...
Time Domain Representation of Continuous and Discrete Signals 83 Example 1.17 Create the script fi le up_down_samples that retur ...
84 Practical MATLAB® Applications for Engineers ylabel(‘Amplitude’);xlabel(‘time index n’) title(‘f(n) is decimated with M=10’) ...
Time Domain Representation of Continuous and Discrete Signals 85 f(n) versus n f(n) is decimated with M=2 f(n) is decimated with ...
86 Practical MATLAB® Applications for Engineers Example 1.18 An analog communication system consists of an information signal or ...
Time Domain Representation of Continuous and Discrete Signals 87 MATLAB Solution % Script file: modulation figure(1) subplot(2,2 ...
88 Practical MATLAB® Applications for Engineers Binary information signal ASK signal 4 3 2 1 0 Amplitude Amplitude Amplitude Amp ...
Time Domain Representation of Continuous and Discrete Signals 89 Create the script fi le multiplex that returns the following pl ...
«
1
2
3
4
5
6
7
8
9
10
»
Free download pdf