MATLAB is a mathematical software package which can be used for analysing and solving mathematical and engineering problems such as numerical computations, graphs plotting, programming and more. MATLAB treat all the variables in form of scalar , vector or matrices form. For this book of MATLAB Programming, it is aimed to give a new MALAB users have an overview of how to use the basic and intermediate level of MATLAB and of course to keep this free for students who might be using this book for their course. To start off, MATLAB is a scripting language (Note that I didn't mentioned it is programming language) for data analysis, think of it as a super-powered programmable calculator with useful default functions that are built specifically for math applications.
The name MATLAB itself is an abbreviation for "MATrix LABoratory". Originally, it was a simple interactive matrix calculator in early 1980's. Gradually, it evolves into programming language developed by MathWorks. It started out as a matrix programming language where linear algebra programming was simple. It can be run both under interactive sessions and as a batch job. While other programming languages mostly work with numbers one at a time, MATLAB is designed to operate primarily on whole matrices and arrays. All MATLAB variables are multidimensional arrays, no matter what type of data. A matrix is a two-dimensional array often used for linear algebra.
MATLAB are also designed to be equipped with toolboxes. A toolbox is a package of custom functions and/or classes which are generally for a specific topic (such as control system, signal processing or even deep learning).The toolboxes are either provided officially by Mathworks and require a expensive license, others can be downloaded for free from the File Exchange.
Finally, this book assumes that you have access to latest MATLAB version but if you didn't have , no worries. I believe that most of the examples are also can be run using Octave as the later tried to compatible matching the programming syntax of MATLAB (for most of time)
Click this link to try the free version of MATLAB: | Octave-Online.
MATLAB Programming ChaptersEdit
- MATLAB documentation from The MathWorks.
- MATLAB programs compilation from 'MATLAB programs for Engineering Students'.
- MATLAB Programming Language Origin, Advantages, Implementation from Bobs SEO
A number of other Wikibooks use MATLAB to teach their subjects. The following Wikibooks make use of MATLAB: