Matlab is a program that was originally designed to simplify the implementation of numerical linear algebra routines. It has since grown into something much bigger, and it is used to implement numerical algorithms for a wide range of applications. The basic language used is very similar to standard linear algebra notation, but there are a few extensions that will likely cause you some problems at first.
The goal of the tutorials here is to provide a simple overview and introduction to matlab. The tutorials are broken up into some of the basic topics. The first includes a few examples of how Matlab makes it easy to create and manipulate vectors. The tutorials move from the simple examples and lead to more complicated examples.
We have tutorials on the following subjects:
Here we bring together elements of the first two tutorials. The real power of matlab is that the basic operations defined in linear algebra can be carried out with similar notation and a minimal number of programming steps.
The basic control structure in matlab is the "if" statement which allows for conditional execution of certain parts of a code. This is useful when you have to check conditions before deciding what actions should be taken.