Lab 1 Control Engineering
Lab 1 Control Engineering
(LAB)
LAB # 1
System 2
What is a System?
A system is an arrangement, set or collection of things
connected or related in such a manner as to form an entirety
or whole.
What is Control?
Control means to regulate, direct or command
Parts of a system
Input (manipulated variable)
State Variables
Output (controlled Variable)
Introduction to 5
MATLAB
MATLAB (Short for Matrix Laboratory)
MATLAB Environment
I. Command Window
II. Command History
III. Workspace
IV. Current Folder
Built in functions
I. sqrt, inv(matrix),abs, etc
'Basic'
A=5
B=6
C=A+B;
D=A-B;
E=A*B;
F=A/B;
C=A+B
D=A-B
E=A*B
F=A/B
Plotting in MATLAB 7
x = [0:2:18]
y=[0, 0.33, 4.13, 6.29, 6.85, 11.19, 13.19, 13.96, 16.33, 18.17]
plot (x,y)