You are on page 1of 44

DAY 1

MATLAB INTRODUCTIONS
PROF. SOMA DAS

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

INSTITUTE OF ENGINEERING AND MANAGEMENT


WHAT IS MATLAB ?

• MATLAB® is a programming platform designed specifically for engineers and


scientists to analyze and design systems and products that transform our world.
• MATLAB –MATrix LABoratory
• The heart of MATLAB is the MATLAB language, a matrix-based language allowing
the most natural expression of computational mathematics.
WHAT IS MATLAB ?

• MATLAB is both a programming language and an interactive environment.You can


use the tools available in the MATLAB desktop to achieve many common tasks
quickly, including developing code. Using both interactive tools and MATLAB
commands can streamline your workflow and make you more efficient with
MATLAB.
WHAT CAN I DO WITH MATLAB?

• Analyze data
• Develop algorithms
• Create models and applications
MATLAB lets you take your ideas from research to production by deploying to
enterprise applications and embedded devices, as well as integrating with
Simulink® and Model-Based Design.
CAPABILITIES OF MATLAB
APPLICATIONS OF MATLAB

• Automated driving systems


• Image Processing and Computer Vision
• Power System Analysis and Design
• Computational Biology
• Internet of Things
• Predictive Maintenance
• Control Systems
APPLICATIONS OF MATLAB
CONTD..
• Machine learning • Test and Measurement
• Robotics • Embedded Systems
• Data Science • Power Electronics Control
• Mechatronics design

• Signal Processing • Wireless communications

• Deep Learning • Enterprise and IT Systems

• Mixed Signal Systems


WHO USES MATLAB?

• Millions of engineers and scientists worldwide use MATLAB


for a range of applications, in industry and academia,
including deep learning and machine learning, signal
processing and communications, image and video
processing, control systems, test and measurement,
computational finance, and computational biology.
INDUSTRY WHERE MATLAB IS
USED
• Aerospace and Defense
• Energy Production
• Quantitative finance and Risk management
• Automotive
• Industrial Automation and Machinery
• Railway Systems
• Biotech and pharmaceutical
INDUSTRY WHERE MATLAB IS
USED CONTD..
• Semiconductors
• Communications
• Medical Devices
• Software and Internet
• Electronics
• Metals, materials and mining
• Technical services and consulting
MATLAB HISTORY
MATLAB TIMELINE CONTD..
COMPONENTS OF MATLAB
SYSTEM
MATLAB TOOLBOX
MATLAB TOOLBOX
MATLAB TOOLBOX
MATLAB TOOLBOX
MATLAB TOOLBOX
MATLAB TOOLBOX
WHAT IS SIMULINK

• Simulink is the platform for Model-Based Design that


supports system-level design, simulation, automatic
code generation, and continuous test and
verification of embedded systems. Key capabilities
include: A graphical editor for modeling all components of a
system.
SIMULINK
MATLAB FILE EXTENSIONS
CONNECTING TO MATLAB
DEPLOYING WITH MATLAB
GLIMPSE OF THE ONLINE
INTERFACE
COMPONENTS OF INTERFACE
Variable browser
Command window

Command history
A FEW QUESTIONS??

• Do we need to specify a datatype while declaring variable?


• If not then what is the default datatype?
• The variable show a size (1X1), what does it mean?
MATRIX IN MATLAB
MATRIX OF ZEROS
MATRIX OF ZEROS CONTD..
MATRIX OF RANDOM NUMBERS
MATRIX OPERATIONS
MATRIX OPERATIONS
TRANSPOSE A MATRIX
INVERSE OF A MATRIX
MATRIX MULTIPLICATION
• Confirm that a matrix times its inverse returns the identity
matrix:
MATLAB stores numbers as floating-point values, and arithmetic operations
are sensitive to small differences
between the actual value and its floating-point representation. You can
display more decimal digits using the format command
ELEMENT WISE MULTIPLICATION
MATRIX OPERATION FOR POWER
CONCATENATION
Concatenation is the process of joining arrays to make larger ones.
In fact, you made your first array by concatenating its individual elements.
The pair of square brackets [] is the concatenation operator.
CONCATENATION
• Concatenating arrays next to one another using commas is
called horizontal concatenation. Each array must have the same number of rows.
Similarly, when the arrays have the same number of columns, you can
concatenate vertically using semicolons.
COMPLEX NUMBERS
Complex numbers have both real and imaginary parts, where the imaginary unit is the square root of -1.
COMPLEX NUMBERS
To represent the imaginary part of complex numbers, use either i or j.
REFERENCES

• https://in.mathworks.com/discovery/what-is-matlab.html
• https://in.mathworks.com/solutions.html#capabilities
• https://www.mathworks.com/videos/simulink-overview-
61216.html#:~:text=Simulink%20is%20the%20platform%20f
or,all%20components%20of%20a%20system

You might also like