Real-Time Digital Signal Processing - Appendix B: Introduction of MATLAB for DSP Applications

MATLAB (MATrix LABoratory) is an interactive technical computing environment for scientific and engineering applications. It integrates numerical analysis, matrix computation, signal processing, and graphics in an easy-to-use environment. By using its relatively simple programming capability, MATLAB can be easily extended to create new functions. MATLAB is further enhanced by numerous toolboxes such as the Signal Processing Toolbox. | Real-Time Digital Signal Processing. Sen M Kuo Bob H Lee Copyright 2001 John Wiley Sons Ltd ISBNs 0-470-84137-0 Hardback 0-470-84534-1 Electronic Appendix B Introduction of MATLAB for DSP Applications MATLAB MATrix LABoratory is an interactive technical computing environment for scientific and engineering applications. It integrates numerical analysis matrix computation signal processing and graphics in an easy-to-use environment. By using its relatively simple programming capability MATLAB can be easily extended to create new functions. MATLAB is further enhanced by numerous toolboxes such as the Signal Processing Toolbox. The version we use in this book is based on MATLAB for Windows version . Several reference books provide a concise tutorial on MATLAB and introduce DSP using MATLAB. However the best way to learn a new tool is by using it. A useful command for getting started is intro which covers the basic concepts in the MATLAB language. MATLAB has an extensive on-line help system which can be used to answer any questions not answered in this appendix. Also there are many demonstration programs that illustrate various capabilities of MATLAB which can be viewed by using the command demo. In this appendix MATLAB is briefly introduced with emphasis on DSP concepts introduced in Chapters 3 and 4. Elementary Operations This section briefly introduces the MATLAB environment for numerical computation data analysis and graphics. Initializing Variables and Vectors The fundamental data-type of MATLAB is array. Vectors scalars matrices are handled as special cases of the basic array. A finite-duration sequence can be represented by MATLAB as a row vector. To declare a variable simply assign it a value at the MATLAB prompt. For example a sequence x n 2 4 6 3 1 for n 0 1 2 3 4 can be represented in MATLAB by two row vectors n and xn as follows 454 APPENDIX B INTRODUCTION OF MATLAB FOR DSP APPLICATIONS n 0 1 2 3 4 xn 2 4 6 3 1 Note that the MATLAB command .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
5    58    1    29-04-2024
248    357    9    29-04-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.