正在加载图片...
8 These MTLAB statements interpolate a signal by a factor of 8 8 clear memory and figure window 8 specify numbers of points =0.004;2= e2;2 g specify time intervals k1=0:255;k2= 8 specify time index t=k1*;t2= i specify time signals x1 =3*cos(20*pi*t1).*cOs(200*pi*t1): s generate original signal x2 interp(xl, B) s interpolate by a factor of 8 i plot original and interpolated signals subplot(2,1,1),plo(t1(1:25),x1(1:25),gxia, itle('Original Time Sigmal) subplot(2,1,2),plot(t2(1:200),x2(1:200),t1(1:25),x1(1:25),*), grid, title('Interpolated Time Signal), xlabel("Time, s),pau g compute and plot frecuency content Ⅺ=ff(x1);x=f(x2); f1=k1/*1);f2=k2/(N2*2) subplot (2, 1, 1),plot(f1(1: 128), abs(X1 (1: 128))/N1), grid, title( Frequency Co of Original Sigmal subplot (2, 1, 2),plot 024),aX(1:1024))N2),gria title( Frequency Content of Interpolated signal' label(Frequency, Hz'), pause FIGURE 21.12 Related Topics 14.3 Design and Implementation of Digital Filters. 14.4 Signal Restoration. 15.1 Coding, Transmission, and Storage References Buck, Daniel, and Singer, Computer Explorations in Signals and Systems Using MATLAB, Englewood Cliffs, N J. Prentice-Hall, 1997 uris, McClellan, and Oppenheim, Computer-Based Exercises for Signal Processing, Englewood Cliffs, N.J.: Prentice-Hall, 1994 Etter, Engineering Problem Solving with MATLAB, 2nd ed, Englewood Cliffs, N J. Prentice-Hall,1 Etter, Introduction to MATLAB for Engineers and Scientists, Englewood Cliffs, N J: Prentice-Hall Garcia, Numerical Methods for Physics, Englewood Cliffs, N J: Prentice-Hall, 1994 Hanselman and Kuo, MATLAB Tools for Control System Analysis and Design, 2nd ed, Englewood Cliffs, N J Prentice-Hall, 1995 Jang, Sun, and Mizutani, Neuro-Fuzzy and Soft Computing: A Computational Approach to Learning and Machin Intelligence, Englewood Cliffs, N J. Prentice-Hall, 1997. Kamen and Heck, Fundamentals of Signals and Systems Using MATLAB, 2nd ed, Englewood Cliffs, N.J. Prentice Ha,1997. Marcus, Matrices and MATLAB: A Tutorial, Englewood Cliffs, N.J. Prentice-Hall, 1993. Polking, Ordinary Differential Equations Using MATLAB, Englewood Cliffs, N J Prentice-Hall, 1995 Van Loan, Introduction to Scientific Computing: A Matrix Vector Approach Using MATLAB, Englewood Cliffs, N. Prentice-Hall, 1997 c 2000 by CRC Press LLC© 2000 by CRC Press LLC Related Topics 14.3 Design and Implementation of Digital Filters • 14.4 Signal Restoration • 15.1 Coding, Transmission, and Storage References Buck, Daniel, and Singer, Computer Explorations in Signals and Systems Using MATLAB, Englewood Cliffs, N.J.: Prentice-Hall, 1997. Burris, McClellan, and Oppenheim, Computer-Based Exercises for Signal Processing, Englewood Cliffs, N.J.: Prentice-Hall, 1994. Etter, Engineering Problem Solving with MATLAB, 2nd ed., Englewood Cliffs, N.J.: Prentice-Hall, 1997. Etter, Introduction to MATLAB for Engineers and Scientists, Englewood Cliffs, N.J.: Prentice-Hall, 1996. Garcia, Numerical Methods for Physics, Englewood Cliffs, N.J.: Prentice-Hall, 1994. Hanselman and Kuo, MATLAB Tools for Control System Analysis and Design, 2nd ed., Englewood Cliffs, N.J.: Prentice-Hall, 1995. Jang, Sun, and Mizutani, Neuro-Fuzzy and Soft Computing: A Computational Approach to Learning and Machine Intelligence, Englewood Cliffs, N.J.: Prentice-Hall, 1997. Kamen and Heck, Fundamentals of Signals and Systems Using MATLAB, 2nd ed., Englewood Cliffs, N.J.: Prentice￾Hall, 1997. Marcus, Matrices and MATLAB: A Tutorial, Englewood Cliffs, N.J.: Prentice-Hall, 1993. Polking, Ordinary Differential Equations Using MATLAB, Englewood Cliffs, N.J.: Prentice-Hall, 1995. Van Loan, Introduction to Scientific Computing: A Matrix Vector Approach Using MATLAB, Englewood Cliffs, N.J.: Prentice-Hall, 1997. FIGURE 21.12
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有