Matrix Laboratory (MATLAB) , from MathWorks Inc. USA, is a high-level programming language for algorithm development, data visualization, data analysis and numerical calculation. It has several advantages, such as performing numerical analysis, matrix calculation, scientific data visualization, modeling and simulation for dynamic systems. A large number of functions are integrated in an easy-to-use window environment. MATLAB can be useful in many scientific fields, especially in engineering computing, control design, signal processing and communication, image processing, signal detection, financial modeling design and analysis and so on. A comprehensive solution for scientific research and engineering design can be easily provided by figures and tables in MATLAB.
As a simulation tool, MATLAB has become essential in engineering disciplines. It has a large amount of English materials. However, these foreign textbooks and English help documents are relatively harder to understand for a freshman in MATLAB or a non-native speaker of English. For these reasons, this book aims to provide a simpler guidance for college students. The book summarizes commonly used commands and programming methods through years of the authors practical experience in MATLAB.
Table of Contents
Part I MATLAB Basic
1 Introduction
1.1 What is MATLAB?
1.2 MATLAB Application and Features
1.3 MATLAB Characteristics
2 MATLAB Basics
2.1 Desktop
2.2 Basic Features
2.3 Variable
2.4 Data Format
2.5 Data Types
3 Matrix and Its Operation
3.1 Array, Vector, and Matrix
3.2 Matrix Input Method
3.3 Matrix Calculation Command
3.4 Commonly Used Symbols
4 Calculation
4.1 Basic Mathematical Calculation
4.2 Polynomials
4.3 Symbolic Computation
5 Plotting
5.1 Two-dimensional Plotting
5.2 Three-dimensional Plotting
6 MATLAB Language Programming
6.1 M-file
6.2 Function Files
6.3 Input and Display Data
6.4 Loop Statement
6.5 Branch Statement
6.6 Program Debugging
7 Input/Output Functions
7.1 Load and Save Data
7.2 Read File
7.3 File Operations
8 Simulink
8.1 Simulink Environment
8.2 How to Use Simulink
8.3 Subsystem Design
……