PRACTICAL MATLAB® FOR ENGINEERS PRACTICAL MATLAB
30 Practical MATLAB® Applications for Engineers Note that the function sign(t) can be created by using the step functions indica ...
Time Domain Representation of Continuous and Discrete Signals 31 area _ step = 3 >> area _ sign = int(‘signum(t)’, -2, 3) ...
32 Practical MATLAB® Applications for Engineers R.1.105 The MATLAB command square(t, a) returns the periodic square wave with pe ...
Time Domain Representation of Continuous and Discrete Signals 33 ylabel( ‘f2(t)’) axis([0 4*pi -2.5 2.5]) grid on; title(‘2*Squa ...
34 Practical MATLAB® Applications for Engineers R.1.108 For example, create the script fi le triangles that returns the plots ov ...
Time Domain Representation of Continuous and Discrete Signals 35 Sawtooth(t,.50) versus t 2*Sawtooth(t,.25) versus t 1.5 0.5 0 0 ...
36 Practical MATLAB® Applications for Engineers MATLAB Solution % Script file: sincs x = -5:0.1:5; y = sinc(x); plot(x, y) title ...
Time Domain Representation of Continuous and Discrete Signals 37 R.1.114 For example, create the script fi le rect_pulses that r ...
38 Practical MATLAB® Applications for Engineers plot(t,f3) axis([-6 6 -0.5 4.5]) ylabel(‘ Amplitude [f3(t)]’);xlabel(‘ t (time)’ ...
Time Domain Representation of Continuous and Discrete Signals 39 R.1.118 As an additional example, create the script fi le trian ...
40 Practical MATLAB® Applications for Engineers title (‘2 triangular cycles’); axis ([0 1 -0.5 1.5]); ylabel (‘Amplitude’) ; xla ...
Time Domain Representation of Continuous and Discrete Signals 41 R.1.122 For example, let HZ zz zz () ... .. 224 25 225 ...
42 Practical MATLAB® Applications for Engineers R.1.123 The MATLAB function un = dstep(P, Q, n) returns the discrete step respon ...
Time Domain Representation of Continuous and Discrete Signals 43 The script fi le disc_ step is executed and the results are giv ...
44 Practical MATLAB® Applications for Engineers R.1.127 Reconstruction of an analog signal f(t) from the discrete sequence f(n) ...
Time Domain Representation of Continuous and Discrete Signals 45 where f is the input sampled vector (f(n)). M the down-sampling ...
46 Practical MATLAB® Applications for Engineers R.1.139 The process of limiting or truncating a function or sequence consisting ...
Time Domain Representation of Continuous and Discrete Signals 47 R.1.144 MATLAB offers the user a number of built-in window func ...
48 Practical MATLAB® Applications for Engineers R.1.150 The MATLAB function boxcar(N) returns the N points of a rectangular wind ...
Time Domain Representation of Continuous and Discrete Signals 49 >> subplot(3, 1, 1); >> plot(n, WHAM); >> tit ...
«
1
2
3
4
5
6
7
8
9
10
»
Free download pdf