Contents
Chapter 1 Starting with MATLAB
1.1 STARTING MATLAB, MATLAB WINDOWS
1.2 WORKING IN THE COMMAND WINDOW
1.3 ARITHMETIC OPERATIONS WITH SCALARS
1.3.2 Using MATLAB as a Calculator
1.5 ELEMENTARY MATH BUILT-IN FUNCTIONS
1.6.2 Rules About Variable Names
1.6.3 Predefined Variables and Keywords
1.7 USEFUL COMMANDS FOR MANAGING VARIABLES
1.8.1 Notes About Script Files
1.8.2 Creating and Saving a Script File
1.8.3 Running (Executing) a Script File
1.9 EXAMPLES OF MATLAB APPLICATIONS
2.1 CREATING A ONE-DIMENSIONAL ARRAY (VECTOR)
2.2 CREATING A TWO-DIMENSIONAL ARRAY (MATRIX)
2.2.1 The zeros, ones and, eye Commands
2.3 NOTES ABOUT VARIABLES IN MATLAB
2.6 USING A COLON : IN ADDRESSING ARRAYS
2.7 ADDING ELEMENTS TO EXISTING VARIABLES
2.9 BUILT-IN FUNCTIONS FOR HANDLING ARRAYS
2.10 STRINGS AND STRINGS AS VARIABLES
Chapter 3 Mathematical Operations with Arrays
3.4 ELEMENT-BY-ELEMENT OPERATIONS
3.5 USING ARRAYS IN MATLAB BUILT-IN MATH FUNCTIONS
3.6 BUILT-IN FUNCTIONS FOR ANALYZING ARRAYS
3.7 GENERATION OF RANDOM NUMBERS
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access