Introduction to MATLAB and
MATLAB Add-Ons
MODULE TWO
Overview of MATLAB
MATLAB (Matrix Laboratory) is a high-level programming language and interactive environment used for
numerical computation, visualization, and programming.
History and Evolution of MATLAB
1970s: Developed by Cleve Moler, initially for teaching matrix theory and linear algebra.
1984: Officially released by MathWorks, focusing on matrix operations and linear algebra.
1990s: Introduction of toolboxes, expanding capabilities to various fields such as signal processing and
control systems.
2000s: Integration with other programming languages and software, making MATLAB a versatile tool in
engineering and science.
Today: MATLAB is a comprehensive platform with applications across multiple industries.
MATLAB’s Role in Academia and Industry
Licensing and Access
• Commercial License: Full access to MATLAB and all toolboxes; typically
used by businesses.
• Academic License: Discounted licenses for educational institutions; often
includes access to many toolboxes.
• Student License: Affordable option for students, often including a set
of core toolboxes.
• MATLAB Online: Provides access to MATLAB through a web browser;
often included with academic and student licenses.
MATLAB Interface
• Command Window: The main
area where you type and execute
commands.
• Workspace: Displays all active
variables and their current values.
• Editor: A place to write, save, and
run scripts and functions.
• Figure Windows: Where plots and
graphical data representations are
displayed.
MATLAB Online MATLAB Mobile
• Access MATLAB through a web • Download MATLAB Mobile from the
browser, with all computations App Store or Google Play.
handled on MathWorks' servers. • Set up MATLAB Mobile to
• Benefits of cloud-based computation, synchronize with your MathWorks
including the ability to work on account
projects from any location. • Run scripts, view variables, and
[Link] visualize data on the go.
Version Control Integration
Relevance Basic Concepts
• Crucial for tracking changes • Repositories: Storage locations for code, typically
• Code Backup hosted on platforms like GitHub
• Collaborating on Projects/code • Commits: Snapshots of code changes, providing a
• Maintaining a history of project development. history of the project.
• Teamwork: managing contributions from multiple • Branches: Parallel versions of the project, allowing for
team members. experimentation without affecting the main
• Resolving Conflicts: Strategies for dealing with codebase.
conflicts when merging changes from different • Merges: Combining changes from different branches
contributors. or contributors.
Version Control Integration
Process Procedure
• create a local Git repository
• commit changes
• create branches
• merge code
• push updates to a remote repository
(e.g., GitHub)
Tutorial: [Link]
MATLAB Toolboxes and Apps
MATLAB toolboxes extend the core functionality of MATLAB to specialized areas. Each toolbox includes
functions, apps, and blocks relevant to a particular domain
• WAR: Hydrology Toolbox, Statistics and Machine
Learning Toolbox.
• APE: Optimization Toolbox, Statistics and Machine
Learning Toolbox.
• AMI: Control System Toolbox, Signal Processing
Toolbox.
Checking Installed Toolboxes: ver Command • PTI: Image Processing Toolbox, Optimization Toolbox.
Adding New Toolboxes: Add-Ons Explorer • MEB: Mapping Toolbox, Optimization Toolbox.
MATLAB apps provide a graphical interface to perform specific tasks, such as curve fitting, signal
analysis, or control system design, without needing to write extensive code