Categories Pricing Corporate
Free Textbook

An Introduction to Matlab

(70 ratings)
1 review
Language:  English
Matlab is one of the most popular programs for quantitative analysis. This book introduces you to the basics of Matlab without requiring any previous experience of programming.
Download free PDF textbooks or read online. Less than 15% adverts
Business subscription free for the first 30 days, then $5.99/mo

Matlab is one of the most popular programs for quantitative analysis.

This book introduces you to the basics of Matlab without requiring any previous experience of programming.Through a series of easily followed examples, the book builds your knowledge step-by-step so that, at the end, you will master all the fundamentals of the program.

Topics include how to import data, mathematical operations, graphics, and programming. Special attention has been given to debugging techniques and how to find further help. Examples include linear regressions, solving equations, and numerical integration.

  1. An Introduction to Matlab
  2. Introduction
    1. Preliminaries and a map of the book
  3. Features of Matlab
  4. The Desktop
  5. Some basics of using Matlab
    1. The order of precedence
    2. Some algebraic functions, special characters, and tips
    3. The syntax of functions
    4. Variables
    5. Different types of variables
    6. A note on interpretation and error messages
    7. How Matlab “searches for meaning”
  6. Matrices, vectors and scalars
    1. Creating matrices
    2. Addressing parts of matrices
    3. Changing parts of a matrix
    4. Some special commands for handling matrices
    5. The Workspace Browser and the Variable Editor
    6. More about matrices
  7. Mathematical operations with matrices
    1. Functions that operate element-by-element
    2. Elementary mathematical functions that operate columnwise
    3. Matrix algebra
    4. Solving systems of linear equations
    5. Finding linear regression coefficients
  8. Importing and exporting data
    1. The Current Folder
    2. Problems with importing formatted data
    3. Preparing data to import
    4. Copy-and-paste importing
    5. Importing using the Import Wizard
    6. Importing using commands
    7. Exporting to Excel files with commands
    8. More about importing and exporting data
  9. Graphics
    1. Useful commands for two-dimensional plotting
    2. Time series plotting
    3. Plotting a function
    4. Several graphs in one window and other types of graphs
    5. Other two-dimensional graphs
    6. Plotting tools
    7. More about graphics
  10. Programming in Matlab
  11. Scripts
    1. The Editor
    2. Writing a script
    3. The search path
    4. User interaction with the script
  12. User defined functions
    1. About the differences between scripts and user defined functions
    2. More about functions
  13. Flow control
    1. Loops
    2. Relational and logical operators
    3. Conditional statements
    4. More about flow control
  14. Numerical analysis and curve fitting
    1. Solving equations
    2. Finding a function minimum point
    3. Numerical integration
    4. Curve fitting
    5. More about numerical analysis
  15. Debugging and Help
  16. Debugging
    1. The Code Analyzer
    2. Executing part of the code with F9
    3. Using breakpoints
    4. Checking programs for correct input
    5. Use comments
    6. More on debugging
  17. Help
    1. To find specific information on functions
    2. To find general information
    3. Online documentation from MathWorks
    4. The internet
  18. Appendix; Commands used in this book
  19. Endnotes
Very useful and helpful to my studies. I appreciate your friendship and openness.
More reviews
About the Author

Krister Ahlersten