MATLAB Programming
[MATLAB Programming\|/MATLAB Programming]m]
Chapter 1: MATLAB ._.
Introductions .
Chapter 2: MATLAB Concepts
Chapter 3: Variable Manipulation
Chapter 4: Vector and matrices
Chapter 5: Array
- Arrays
- Introduction to array operations
- Vectors and Basic Vector Operations
- Mathematics with Vectors and Matrices
- Struct Arrays
- Cell Arrays
Chapter 6: Graphical Plotting
- Basic Graphics Commands
- Plot
- Polar Plot
- Semilogx or Semilogy
- Loglog
- Bode Plot
- Nichols Plot
- Nyquist Plot
Chapter 7: M File Programming
Chapter 8: Advanced Topics
- Numerical Manipulation
- Advanced File I/O
- Object Oriented Programming
- Applications and Examples
- Toolboxes and Extensions
Chapter 9: Bonus chapters
- MATLAB Benefits and Caveats
- Alternatives to MATLAB
- [MATLAB_Programming/GNU_Octave|What is Octave= (8) hsrmonic functions]
- Octave/MATLAB differences
A printable version of MATLAB Programming is available. (edit it)
Forewords
[edit | edit source ]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 MATLAB 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 Chapters
[edit | edit source ]Fundamentals of MATLAB
Basic MATLAB commands
Examples of MATLAB Command
File Name Types
Chapter 3: Variable Manipulations
Vector and Matrices
Special Matrices
Operation on Matrices
Operation on Vectors
Sparse Matrices
Arrays
Introduction to array operations
Vectors and Basic Vector Operations
Mathematics with Vectors and Matrices
Struct Arrays
Cell Arrays
Plot
Polar Plot
Semilog
Loglog
Bode Plot
Nichols Plot
Nyquist Plot
Portable Functions
What is a handle?
Using Handles
Figure handles
Axis handles
Other types of handles
Inserting Newlines into Plot Labels
Numerical Manipulation
Reading and writing data files
Advanced I/O
Object Oriented Programming
Applications and Examples
Toolboxes and Extensions
Order Differential Equations
Scripts
The Input Function
Control Flow
Loops and Branches
Error Messages
Inserting Newlines into Disp Warn and Error
Debugging M Files
References
[edit | edit source ]- MATLAB documentation from The MathWorks.
- MATLAB programs compilation from 'MATLAB programs for Engineering Students'.
- MATLAB Programming Language Origin, Advantages, Implementation from Bobs SEO
External links
[edit | edit source ]- ControlTheoryPro.com MATLAB Category
- Processing in Optical Coherence Tomography using Matlab
- How to create GUI button in MATLAB
- Free tutorials to learning MATLAB
Other Wikibooks
[edit | edit source ]A number of other Wikibooks use MATLAB to teach their subjects. The following Wikibooks make use of MATLAB: