0% found this document useful (0 votes)
4 views

1 MATLAB Introduction

Uploaded by

Souvik Saha
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

1 MATLAB Introduction

Uploaded by

Souvik Saha
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 26

Introduction to MATLAB ®

Dr. Susovan Jana


Assistant Professor & Assistant HOD
Department of Computer Science & Engineering (IoT)
Institute of Engineering & Management, Kolkata, INDIA
Email (O): [email protected]
Email (P): [email protected]
2
What is MATLAB®?
❑ MATLAB is an acronym of MATrix LABoratory
❑ MATLAB®/Simulink® is a powerful software tool
─ Founders: John N. Little, Cleve Moler, Steven Bangert
❑ It provides
─ mathematical computations
─ matrix manipulation
─ creating scripts
─ creating function
─ implementation of algorithms
─ GUI design
─ analyzing and visualizing data

Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
3
Brief History of MATLAB
❑ The first MATLAB® was not a programming language; it
was a simple interactive matrix calculator. There were no
programs, no toolboxes, no graphics. And no ODEs or
FFTs.
❑ Mathematical Origins
─ The mathematical basis for the first version of MATLAB was a
series of research papers by J. H. Wilkinson and 18 of his
colleagues, published between 1965 and 1970 and later
collected in Handbook for Automatic Computation, Volume II,
Linear Algebra, edited by Wilkinson and C. Reinsch. These papers
present algorithms, implemented in Algol 60, for solving matrix
linear equation and eigenvalue problems.

Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
4
Brief History of MATLAB
❑ Historic MATLAB (1970- 1980)
─ MATLAB—an acronym for Matrix Laboratory—in Fortran,
with matrix as the only data type
─ an interactive matrix calculator
❑ Commercial MATLAB (1983)
─ extended version of MATLAB in C
❑ PC-MATLAB made its debut in December 1984 at the
IEEE Conference on Decision and Control in Las
Vegas.
❑ Pro-MATLAB - Control System Toolbox™ (1985)
Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
5
Brief History of MATLAB
❑ Signal Processing Toolbox™- ODEs (1987)
❑ Sparse matrices - Simulink® (1992)
❑ Image Processing Toolbox™- Symbolic Math
Toolbox™ (1993)
❑ Single precision, Cell arrays, Structures (1996)
❑ Objects (1999)
❑ Desktop, LAPACK (2000)

Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
6
Brief History of MATLAB
❑ Integer data types, Function handles, Parallel
computing (2004)
❑ Objects improved (2008)
❑ GPUs (2010)
❑ New graphics system (2014)
❑ Live Editor (2016)
❑ Tall arrays and categorical arrays (2017)

Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
7
Applications
❑ General Applications
─ Example models illustrating general applications
❑ Automotive Applications
─ Model and simulate automotive systems using Simulink® and other
MathWorks® products
❑ Aerospace Applications
─ Model aerospace systems using Simulink and Aerospace Blockset™
software
❑ Industrial Automation Applications
─ Example models illustrating industrial automation applications
❑ Signal Processing
─ Model signal processing and communications systems using DSP System
Toolbox™ software

Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
8
Applications
❑ Physical Modeling
─ Model physical systems using Simscape™software
❑ Complex Logic
─ Model complex logic using Stateflow® diagrams
❑ Discrete-Event Simulation
─ Model and simulate discrete-event systems
❑ Systems Engineering
─ Design and analyze system architecture using System
Composer™ software
❑ Large-Scale Modeling
─ Model architecture for large models and multi-user development
teams

Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
9
Installation Guide
❑ The software of MATLAB is not free
─ User needs to buy license for personal uses
─ They also provide institutional as well as organizational
liquescence
❑ Download Link:
https://www.mathworks.com/products/compiler/ma
tlab-runtime.html
❑ Installation Guide:
https://in.mathworks.com/help/compiler_sdk/dotnet
/install-the-matlab-runtime.html

Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
10
Default layout of MATLAB

Toolbar

Current
Folder

Command
Workspace
Window

Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
11
Plot Options

Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
12
Apps Options

Show more
apps

Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
13
Apps Options

Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
14
Options for Customizing Layout

Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
15
Different Tool Boxes
❑ Parallel Computing
─ MATLAB Distributed Computing Server
─ Parallel Computing Toolbox
❑ Math, Statistics, and Optimization
─ Curve Fitting Toolbox
─ Global Optimization Toolbox
─ Model-Based Calibration Toolbox
─ Neural Network Toolbox
─ Optimization Toolbox
─ Partial Differential Equation Toolbox
─ Statistics and Machine Learning Toolbox
─ Symbolic Math Toolbox
─ Text Analytics Toolbox

Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
16
Different Tool Boxes
❑ Control Systems
─ Aerospace Toolbox
─ Automated Driving System Toolbox
─ Control System Toolbox
─ Fuzzy Logic Toolbox
─ Model Predictive Control Toolbox
─ Predictive Maintenance Toolbox
─ Robotics System Toolbox
─ Robust Control Toolbox
─ System Identification Toolbox
Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
17
Different Tool Boxes
❑ Signal Processing and Wireless Communications
─ Antenna Toolbox
─ Audio System Toolbox
─ Communications System Toolbox
─ DSP System Toolbox
─ LTE HDL Toolbox
─ LTE System Toolbox
─ Phased Array System Toolbox
─ RF Toolbox
─ Signal Processing Toolbox
─ Wavelet Toolbox
─ WLAN System Toolbox
Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
18
Different Tool Boxes
❑ Image Processing and Computer Vision
─ Automated Driving System Toolbox
─ Computer Vision System Toolbox
─ Image Acquisition Toolbox
─ Image Processing Toolbox
─ Mapping Toolbox
─ Vision HDL Toolbox
❑ Test and Measurement
─ Data Acquisition Toolbox
─ Image Acquisition Toolbox
─ Instrument Control Toolbox
─ OPC Toolbox
─ Vehicle Network Toolbox

Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
19
Different Tool Boxes
❑ Computational Finance
─ Database Toolbox
─ Datafeed Toolbox
─ Econometrics Toolbox
─ Financial Instruments Toolbox
─ Financial Toolbox
─ Risk Management Toolbox
─ Spreadsheet Link
─ Trading Toolbox
❑ Computational Biology
─ Bioinformatics Toolbox
─ SimBiology

Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
20
Different Tool Boxes
❑ Code Generation
─ Filter Design HDL Coder
─ Fixed-Point Designer
─ GPU Coder
─ HDL Coder
─ HDL Verifier
─ MATLAB Coder
─ Vision HDL Toolbox
❑ Application Deployment
─ MATLAB Compiler
─ MATLAB Compiler SDK
─ Spreadsheet Link
❑ Database Access and Reporting
─ Database Toolbox
─ MATLAB Report Generator

Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
21
Help

Click this icon to Type here


open and select
documentation from the list

Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
22
Help on sum

Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
23
Using MATLAB as a Calculator
❑ Addition
❑ Subtraction
❑ Multiplication
❑ Division

Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
24
Quitting MATLAB
1. By quit command
or
2. Click on MATLAB icon in the
top left corner of MATLAB and
select Close option
or
3. Press Alt+F4

Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
25
Reference Book
❑ MATLAB: Easy Way of Learning
─ By S. Swapna Kumar, S. V. B. Lenina · 2016

Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA
26

Dr. Susovan Jana, Department of Computer Science & Engineering (IoT), IEM, Kolkata, INDIA

You might also like