Automatic Control Systems - MATLAB, Introduction and Control Basics

# Automatic Control Systems - MATLAB, Introduction and Control Basics Notes

## Document Description: Automatic Control Systems - MATLAB, Introduction and Control Basics for 2022 is part of for preparation. The notes and questions for Automatic Control Systems - MATLAB, Introduction and Control Basics have been prepared according to the exam syllabus. Information about Automatic Control Systems - MATLAB, Introduction and Control Basics covers topics like and Automatic Control Systems - MATLAB, Introduction and Control Basics Example, for 2022 Exam. Find important definitions, questions, notes, meanings, examples, exercises and tests below for Automatic Control Systems - MATLAB, Introduction and Control Basics.

Introduction of Automatic Control Systems - MATLAB, Introduction and Control Basics in English is available as part of our for & Automatic Control Systems - MATLAB, Introduction and Control Basics in Hindi for course. Download more important topics related with , notes, lectures and mock test series for Exam by signing up for free. : Automatic Control Systems - MATLAB, Introduction and Control Basics Notes
``` Page 1

1
ECEN 4413 - Automatic Control Systems
Matlab Lecture 1
Introduction and Control Basics
Presented by Moayed Daneshyari
OKLAHOMA STATE UNIVERSITY
Page 2

1
ECEN 4413 - Automatic Control Systems
Matlab Lecture 1
Introduction and Control Basics
Presented by Moayed Daneshyari
OKLAHOMA STATE UNIVERSITY
2
What is Matlab?
• Invented by Cleve Moler in late 1970s to give
without having to learn Fortran.
• Together with Jack Little and Steve Bangert
they founded Mathworks in 1984 and created
Matlab.
• The current version is 7.
• Interpreted-code based system in which the
fundamental element is a matrix.
Page 3

1
ECEN 4413 - Automatic Control Systems
Matlab Lecture 1
Introduction and Control Basics
Presented by Moayed Daneshyari
OKLAHOMA STATE UNIVERSITY
2
What is Matlab?
• Invented by Cleve Moler in late 1970s to give
without having to learn Fortran.
• Together with Jack Little and Steve Bangert
they founded Mathworks in 1984 and created
Matlab.
• The current version is 7.
• Interpreted-code based system in which the
fundamental element is a matrix.
3
The Interface
Workspace
and
Command
History
and
Current
Directory
Command
Window
Page 4

1
ECEN 4413 - Automatic Control Systems
Matlab Lecture 1
Introduction and Control Basics
Presented by Moayed Daneshyari
OKLAHOMA STATE UNIVERSITY
2
What is Matlab?
• Invented by Cleve Moler in late 1970s to give
without having to learn Fortran.
• Together with Jack Little and Steve Bangert
they founded Mathworks in 1984 and created
Matlab.
• The current version is 7.
• Interpreted-code based system in which the
fundamental element is a matrix.
3
The Interface
Workspace
and
Command
History
and
Current
Directory
Command
Window
4
??
=
??
??
12
m
34
Variable assignment
• Scalar: a = 4
• Vector: v = [3 5 1]
v(2) = 8
t = [0:0.1:5]
• Matrix: m = [1 2 ; 3 4]
m(1,2)=0
[ ]
= v3 5 1
[ ]
= v3 8 1
[ ]
= L t 0 0.1 0.2 4.9 5
? ?
=
? ?
? ?
10
m
34
Page 5

1
ECEN 4413 - Automatic Control Systems
Matlab Lecture 1
Introduction and Control Basics
Presented by Moayed Daneshyari
OKLAHOMA STATE UNIVERSITY
2
What is Matlab?
• Invented by Cleve Moler in late 1970s to give
without having to learn Fortran.
• Together with Jack Little and Steve Bangert
they founded Mathworks in 1984 and created
Matlab.
• The current version is 7.
• Interpreted-code based system in which the
fundamental element is a matrix.
3
The Interface
Workspace
and
Command
History
and
Current
Directory
Command
Window
4
??
=
??
??
12
m
34
Variable assignment
• Scalar: a = 4
• Vector: v = [3 5 1]
v(2) = 8
t = [0:0.1:5]
• Matrix: m = [1 2 ; 3 4]
m(1,2)=0
[ ]
= v3 5 1
[ ]
= v3 8 1
[ ]
= L t 0 0.1 0.2 4.9 5
? ?
=
? ?
? ?
10
m
34
5
Basic Operations
• Scalar expressions
b = 10 / ( sqrt(a) + 3 )
c = cos (b * pi)
• Matrix expressions
n = m * [1 0]’
=
+
10
b
a3
? ?? ? ? ?
==
? ?? ? ? ?
? ?? ? ? ?
10 1 1
n
34 0 3
p = ccos(b )
```
 Use Code STAYHOME200 and get INR 200 additional OFF