0% found this document useful (0 votes)
11 views22 pages

MATLAB Presentation

Uploaded by

Syeda Sehar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views22 pages

MATLAB Presentation

Uploaded by

Syeda Sehar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 22

Introduction to

MATLAB Coding and


Simulink
What is MATLAB?
A high-level programming language and environment for
numerical computation, visualization, and programming.
Widely used in engineering, science, and economics for
simulations, data analysis, and algorithm development.
Applications:
Signal processing, control systems, image processing,
machine learning, etc.
What is MATLAB?
Image processing
What is MATLAB?
Signal processing
What is MATLAB?
Control System
MATLAB
Environment
Overview
Command Window
Current Folder
Figure
Windo
w
Variable Declaration
Matrix and Array
Operation
Helpful documentation
MATLAB Coding
 Control Flow
 if, else, elseif
 for loops, while loops
 Functions
 Writing reusable code blocks using function
 Scope of variables inside functions
 Plotting Data
 2D and 3D plotting using plot(), surf()
 Annotating graphs with labels, titles, legends
MATLAB Coding
 If, else, elseif
MATLAB Coding
 for loops
MATLAB Coding
 While loops
MATLAB Coding
 Function
MATLAB Coding
 2D Plotting
MATLAB Coding
 3D Plotting
MATLAB Coding
 Annotating Graphs with Labels, Titles, Legends
What is Simulink?
• A block diagram environment for multi-domain simulation.
• Integrated with MATLAB for modeling, simulating, and
analyzing dynamic systems.
Applications:
• Control systems
• Signal processing
• Physical modeling
• Simulation of dynamic systems.
Simulink Interface Overview

You might also like