SlideShare a Scribd company logo
INTRODUCTION TO MATLAB
THE LANGUAGE OF TECHNICAL COMPUTING
Paramjeet Singh Jamwal, AP, EEED, RCE RoorkeeSeries: First
Session 1: Jan 31, 2017 | BASICS
Stands for MATrix LABoratory.
Desktop layout
Command window
Command history
Current directory
Workspaces
Session 1: Jan 31, 2017 | BASICS
Creating a matrix and
performing following functions:
Addition
Subtraction
Multiplication
Division
MATLAB Command:
A=[1 2 3; 4 5 6; 7 8 9];
B=[1 3 5;7 9 11; 13 15 17];
ADD=A+B;
SUB=A-B;
MUL=A*B;
DIV=A/B;
Session 2: Feb 03, 2017 | PLOT
 t=0:0.0001:1;
 y1=10*sin(2*pi*1*t);
 y10=10*sin(2*pi*10*t);
 y20=10*sin(2*pi*20*t);
 subplot(3,1,1)
 plot(t,y1)
 axis([0 1 -11 11]);
 title('1 Hz Frequency Signal');
 xlabel('Time');
 ylabel('Amplitude'); Fig. Signal of Frequency 1Hz, 10Hz and 20 Hz.
Session 3: Feb 10, 2017 | SYSTEM
 How to generate a matrix
of 1 row and 101 column
having 5 as element.
 How to apply “for loop” in
MATLAB.
 Create a system in MATLAB
which can compute area,
perimeter and diameter of
Circle.
MATLAB Command:
1. A(1:101)=1*5;
2. for i=10
y(i)=i*i;
end
3. function rceaor(l,w)
A=l*w;
P=2*(l+w);
D=sqrt(l^2+w^2);
End
Session 4: Mar 03, 2017 | IMAGE
Task:
Replace the “Single
building of RCE academic
block” with “two building
of RCE academic block”.
Session 4: Mar 03, 2017 | IMAGE
MATLAB Command:
I=imread('RCE_Academic.jpg');
imtool(I)
Itemp=I(350:1250,950:2300,:);
Inew=I;
Inew(350:1250,350:1700,:)=Itemp;
Inew(350:1250,1700:3050,:)=Itemp;
imshow(Inew)
imwrite(Inew,'RCE_Academic_updated','jpeg');
THANK YOU
Paramjeet Singh Jamwal
Assistant Professor
Electrical and Electronics Engineering Department
ROORKEE COLLEGE OF ENGINEERING
paramjeet.jamwal@gmail.com | paramlife.weebly.com | info4eee.wordpress.com

More Related Content

PDF
[Question Paper] Fundamentals of Digital Computing (Revised Course) [May / 2016]
PDF
[Question Paper] Fundamentals of Digital Computing (Revised Course) [April / ...
PDF
Machine Learning Basics for Web Application Developers
PDF
[Question Paper] Computer Graphics (Old Course) [September / 2013]
PDF
Ch.11.2 11.3 Distributing and Factoring Polynomials
PDF
Digital Signals and Systems (October – 2016) [Question Paper | IDOL: Revised ...
PDF
Lesson1 Oct 5
PDF
[Question Paper] Fundamentals of Digital Computing (Revised Course) [April / ...
[Question Paper] Fundamentals of Digital Computing (Revised Course) [May / 2016]
[Question Paper] Fundamentals of Digital Computing (Revised Course) [April / ...
Machine Learning Basics for Web Application Developers
[Question Paper] Computer Graphics (Old Course) [September / 2013]
Ch.11.2 11.3 Distributing and Factoring Polynomials
Digital Signals and Systems (October – 2016) [Question Paper | IDOL: Revised ...
Lesson1 Oct 5
[Question Paper] Fundamentals of Digital Computing (Revised Course) [April / ...

What's hot (19)

DOCX
โจทย์ Java
PDF
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [April ...
PPTX
Ex1 ef sumprdfns
PDF
[Question Paper] Modern Operating System (Revised Course) [April / 2015]
PDF
Climate observing network design
PDF
Geometric Transformations II
PPTX
Alg2 lesson 5-4
PDF
[Question Paper] Computer Graphics (Old Course) [June / 2014]
PDF
Funções 2
TXT
Demodulate bpsk up
PDF
[Question Paper] Database Management Systems (Revised Course) [September / 2013]
PPTX
Parallelizing matrix multiplication
PDF
[Question Paper] Modern Operating System (Revised Course) [June / 2016]
PDF
[Question Paper] Operating System (Old Course) [September / 2013]
PDF
MathML: onde estamos?
PPT
Lecture8
PPTX
2.5D Clip-Surfaces for Technical Visualization
PPTX
3D transformation computer graphic
PPTX
R Bootcamp Day 3 Part 1 - Statistics in R
โจทย์ Java
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [April ...
Ex1 ef sumprdfns
[Question Paper] Modern Operating System (Revised Course) [April / 2015]
Climate observing network design
Geometric Transformations II
Alg2 lesson 5-4
[Question Paper] Computer Graphics (Old Course) [June / 2014]
Funções 2
Demodulate bpsk up
[Question Paper] Database Management Systems (Revised Course) [September / 2013]
Parallelizing matrix multiplication
[Question Paper] Modern Operating System (Revised Course) [June / 2016]
[Question Paper] Operating System (Old Course) [September / 2013]
MathML: onde estamos?
Lecture8
2.5D Clip-Surfaces for Technical Visualization
3D transformation computer graphic
R Bootcamp Day 3 Part 1 - Statistics in R
Ad

Similar to Introduction to MATLAB - I (20)

PPTX
Simulation lab
PPT
Matlab Tutorial.ppt
PDF
MATLAB Programming
PPT
MATLAB_CIS601-03.ppt
PPT
Matlab Overviiew
PDF
MATLAB-Cheat-Sheet-for-Data-Science_LondonSchoolofEconomics (1).pdf
PDF
PPSX
Introduction to MATLAB
PPT
INTRODUCTION TO MATLAB for PG students.ppt
DOCX
B61301007 matlab documentation
PPT
Introduction to matlab
PPT
Matlab1
PDF
Matlab for beginners, Introduction, signal processing
PPTX
BEN520 FUNDAMENTALS OF BOENGINEERING II-4 week-lecture 4.pptx
PDF
MATLAB INTRODUCTION
PPTX
An Introduction to MATLAB for beginners
PPTX
Introduction to scientific computing with matlab.pptx
PPSX
Two Days workshop on MATLAB
Simulation lab
Matlab Tutorial.ppt
MATLAB Programming
MATLAB_CIS601-03.ppt
Matlab Overviiew
MATLAB-Cheat-Sheet-for-Data-Science_LondonSchoolofEconomics (1).pdf
Introduction to MATLAB
INTRODUCTION TO MATLAB for PG students.ppt
B61301007 matlab documentation
Introduction to matlab
Matlab1
Matlab for beginners, Introduction, signal processing
BEN520 FUNDAMENTALS OF BOENGINEERING II-4 week-lecture 4.pptx
MATLAB INTRODUCTION
An Introduction to MATLAB for beginners
Introduction to scientific computing with matlab.pptx
Two Days workshop on MATLAB
Ad

More from Paramjeet Singh Jamwal (20)

PDF
Fundamentals of Electric Drives - Electric Drives
PDF
DC Network Theory - Basic Electrical Engineering
PDF
Virtual Instrumentation and Data Acquisition - PGICE - 2013
PDF
Reliability Engineering - PGICE - 2013
PDF
Reliability Engineering - PGICE - 2012
DOCX
Introduction to Filters under labVIEW Environment
DOCX
Medical Image Compression
PDF
Non Linear and Adaptive Control System JAN 2014
PDF
Microcontroller and Embedded System JAN 2014
PDF
Instrumentation System Design JAN 2014
PDF
Instrumentation System Design | Assignment
PDF
Digital signal processing JAN 2014
DOCX
Introduction to toolbox under matlab environment
PPTX
Cardiovascular System
DOCX
Digital Signal Processing and Control System under MATLAB Environment
PPTX
Image Compression
PPTX
Hydrology & Site Selection of Hydro Power Plant
PDF
Electromagnetic Field Theory May 2013
PDF
Digital Image Processing May 2013
PDF
Basic Electrical Engineering May 2013
Fundamentals of Electric Drives - Electric Drives
DC Network Theory - Basic Electrical Engineering
Virtual Instrumentation and Data Acquisition - PGICE - 2013
Reliability Engineering - PGICE - 2013
Reliability Engineering - PGICE - 2012
Introduction to Filters under labVIEW Environment
Medical Image Compression
Non Linear and Adaptive Control System JAN 2014
Microcontroller and Embedded System JAN 2014
Instrumentation System Design JAN 2014
Instrumentation System Design | Assignment
Digital signal processing JAN 2014
Introduction to toolbox under matlab environment
Cardiovascular System
Digital Signal Processing and Control System under MATLAB Environment
Image Compression
Hydrology & Site Selection of Hydro Power Plant
Electromagnetic Field Theory May 2013
Digital Image Processing May 2013
Basic Electrical Engineering May 2013

Recently uploaded (20)

PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Digital Strategies for Manufacturing Companies
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
L1 - Introduction to python Backend.pptx
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
System and Network Administraation Chapter 3
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
medical staffing services at VALiNTRY
PPTX
Introduction to Artificial Intelligence
PDF
Nekopoi APK 2025 free lastest update
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
top salesforce developer skills in 2025.pdf
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
Which alternative to Crystal Reports is best for small or large businesses.pdf
2025 Textile ERP Trends: SAP, Odoo & Oracle
Digital Strategies for Manufacturing Companies
wealthsignaloriginal-com-DS-text-... (1).pdf
Navsoft: AI-Powered Business Solutions & Custom Software Development
Operating system designcfffgfgggggggvggggggggg
L1 - Introduction to python Backend.pptx
PTS Company Brochure 2025 (1).pdf.......
System and Network Administraation Chapter 3
Odoo Companies in India – Driving Business Transformation.pdf
VVF-Customer-Presentation2025-Ver1.9.pptx
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
medical staffing services at VALiNTRY
Introduction to Artificial Intelligence
Nekopoi APK 2025 free lastest update
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
top salesforce developer skills in 2025.pdf
Wondershare Filmora 15 Crack With Activation Key [2025

Introduction to MATLAB - I

  • 1. INTRODUCTION TO MATLAB THE LANGUAGE OF TECHNICAL COMPUTING Paramjeet Singh Jamwal, AP, EEED, RCE RoorkeeSeries: First
  • 2. Session 1: Jan 31, 2017 | BASICS Stands for MATrix LABoratory. Desktop layout Command window Command history Current directory Workspaces
  • 3. Session 1: Jan 31, 2017 | BASICS Creating a matrix and performing following functions: Addition Subtraction Multiplication Division MATLAB Command: A=[1 2 3; 4 5 6; 7 8 9]; B=[1 3 5;7 9 11; 13 15 17]; ADD=A+B; SUB=A-B; MUL=A*B; DIV=A/B;
  • 4. Session 2: Feb 03, 2017 | PLOT  t=0:0.0001:1;  y1=10*sin(2*pi*1*t);  y10=10*sin(2*pi*10*t);  y20=10*sin(2*pi*20*t);  subplot(3,1,1)  plot(t,y1)  axis([0 1 -11 11]);  title('1 Hz Frequency Signal');  xlabel('Time');  ylabel('Amplitude'); Fig. Signal of Frequency 1Hz, 10Hz and 20 Hz.
  • 5. Session 3: Feb 10, 2017 | SYSTEM  How to generate a matrix of 1 row and 101 column having 5 as element.  How to apply “for loop” in MATLAB.  Create a system in MATLAB which can compute area, perimeter and diameter of Circle. MATLAB Command: 1. A(1:101)=1*5; 2. for i=10 y(i)=i*i; end 3. function rceaor(l,w) A=l*w; P=2*(l+w); D=sqrt(l^2+w^2); End
  • 6. Session 4: Mar 03, 2017 | IMAGE Task: Replace the “Single building of RCE academic block” with “two building of RCE academic block”.
  • 7. Session 4: Mar 03, 2017 | IMAGE MATLAB Command: I=imread('RCE_Academic.jpg'); imtool(I) Itemp=I(350:1250,950:2300,:); Inew=I; Inew(350:1250,350:1700,:)=Itemp; Inew(350:1250,1700:3050,:)=Itemp; imshow(Inew) imwrite(Inew,'RCE_Academic_updated','jpeg');
  • 8. THANK YOU Paramjeet Singh Jamwal Assistant Professor Electrical and Electronics Engineering Department ROORKEE COLLEGE OF ENGINEERING paramjeet.jamwal@gmail.com | paramlife.weebly.com | info4eee.wordpress.com