0% found this document useful (0 votes)
15 views7 pages

Lab 1 Control Engineering

Control Engineering is an engineering discipline focused on designing systems that operate efficiently and predictably through the application of control theory. A system is defined as a collection of interconnected components that work together to achieve a specific objective, with key elements including inputs, state variables, and outputs. The document also introduces MATLAB, detailing its environment, basic coding, and plotting functionalities.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views7 pages

Lab 1 Control Engineering

Control Engineering is an engineering discipline focused on designing systems that operate efficiently and predictably through the application of control theory. A system is defined as a collection of interconnected components that work together to achieve a specific objective, with key elements including inputs, state variables, and outputs. The document also introduces MATLAB, detailing its environment, basic coding, and plotting functionalities.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7

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

 Why Control Engineering


 Control engineers make systems work efficiently and
predictably.
Introduction 3

 What is Control Engineering


 It is an Engineering discipline that applies control theory to
design systems with desired behaviors.

 Why Control Engineering


 Control engineers make systems work efficiently and
predictably.
Control System 4

Combination of components that act together


to perform a certain objective.

 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

You may visit https://www.mathworks.com/ searches relating MATLAB.


Basic Codes 6

'Basic'
A=5
B=6
C=A+B;
D=A-B;
E=A*B;
F=A/B;

'How to write a matrix'


'2X2 Matrix'
A=[1 3; 2 4]
B=[5 6;7 8]

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)

 Titles, Labels, and Grids:


plot(x,y)
xlabel('Time, sec')
ylabel('Distance, ft')
grid on

 for multiple plots you can use “hold on” command.


plot (x,y)
hold on
z=[1:10]
plot (y,z)

You might also like