Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
69 views
Matlab Handouts
Matlab Handouts
Uploaded by
Ahmed M T
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Matlab Handouts For Later
Download
Save
Save Matlab Handouts For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
69 views
Matlab Handouts
Matlab Handouts
Uploaded by
Ahmed M T
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Matlab Handouts For Later
Carousel Previous
Carousel Next
Save
Save Matlab Handouts For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 6
Search
Fullscreen
Figure 5-56 Unit-step response curve, 240 AS, ‘Step Response Amplimide Time (see) Hence, the time response ¢(¢) can be given by c(t) = -0.5626e cos4t + 0.3438" sin de ~ 0.4375e™ — 0375te* +1 ‘The fact that the response curve is an exponential curve superimposed by damped sinusoidal curves can be seen from Figure 5-56. When the closed-loop system involves a numerator dynamics, the unit-step response curve may exhibit a large overshoot. Obtain the unit-step response of the following system with MATLAB: C(s) 10s +4 RS) Peas +4 ‘Obtain also the unit-ramp response with MATLAB. Solution. MATLAB Program 5-19 produces the unit-step response as well as the unit-ramp response of the system. The unit-step response curv2 and unit-ramp response curve, together with the unit-ramp input, are shown in Figures 5-57(a) and (b), respectively. Notice that the unit-step response curve exhibits over 215% of overshoot. The unit-ramp response curve leads the input curve. These phenomena occurred because of the presence of a large derivative term in the numerator. Chapter 5 / Transient and Steady-State Response AnalysesMATLAB Program 5-19 num =[10 41; den =[1 4 4]; 0:0.02:10; step(num,den,t); plotity) arid title('Unit-Step Response’) xlabel't (sec) ylabel‘Output’ (10 4); (14 4 0); yl =step(numt,dent,0; plot(t.t,'—,ty1) v=[0 10 0 1G); axis(v); grid title('Jnit-Ramp Response’) xlabel('t (sec)') ylabel(‘Unit-Ramp Input and Output') text(6.1,5.0,'Unit-Ramp Input’) text(3.5,7.1,'Output') UnitRamp Response Unit-Ramp Input and Output Example Problems and Solutions 241Figure 6-71 Root-locus plot 362 AG. Root Locus Plt of G(s) ~K/s(s+1)6+2)] and Aysmptotes Imag Axis, Plot the root loci and asymptoies for a unity-feedback system with the following feedforwar transfer function: ‘ K B= GBF IEH DS) Determine the exact points where the root loci cross the ja axis, Solution. The feedforward trarsfer function G(s) can be written as K Os) = Fase Tse + as +10 Nove that as s approaches infinity, lim, G(s) can be writen as K limG(s) = lim => HmGls) = fim, Tap 4 as + las + 10 lim x rom st + 45° + 657 + 45 +1 in Sap where we used the following formula: (s + a)! = s* + das? + 60's" + 4a’s + a* ‘The expression K om (s+ 18 fio) = gives the equation for the asymptotes. Chapter 6 / Control Systems Analysis and Design by the Root-Locus MethodThe MATLAB program to plot the root loci of G(s) and the asymptotes is given in MATLAB Program 6-17. Note that the numerator and denominator for G(s) are num = [1] den={1 4 11 14 10) For the numerator and denominator of the asymptotes Jim G(s) we used nM 14641 Figure 6-72 shows the plot of the root loci and asymptote. Since the characteristic equation fo: the system is (s? + 2s + 2)(s? +2545) + K=0 MATLAB Program 6-17 % ***** Root-locus plot ***** num = [1]; den=[1 4 11 14 10); numa = [1]; dena=[1 46 4 1]; r= rlocus(num,den); plotir,'-") hold Current plot held plot(r,‘o') rlocus(numa,dena); 6 4 -5 5]; axis(v); axis('square') ve grid title(Plot of Root Loci and Asympiotes’) Plot of Root Loci and Asymptotes Imag Axis Example Proklems and Solutions 363EXAMPLE 7-6 Consider the system shown in Figure 7-21. The open-loop transfer function is _ fs? +025 +1) Por 9) Plot a bode diagram. MATLAB Program 7-2 plots a Bade diagram for the system, The resulting plot is shown, Figure 7-22. The frequency range in this case is automatically determined terte from 001 10 rad/see. MATLAB Program 7. num = [9 1.8 9); den= (1 1.2 9 0); bode(num,den) ‘tle('Bode Diagram of Gls) = 9(s2 + 0.25 + 1)/s(sA2 + 1.25 + 9") Figure 7-21 Control system. gs 2 = = g 3 & Figure 7-22 Bode diagram of 9s? + 025 +1 =100 L Gta) = AE + 02s +) v0 s(e° ¥ 12s +9) Frequeney (md/see) 424 Chapter 7 / Control Systems Analysis and Design by the Frequency-Response MethodIf it is desired to plot the Bode diagram from 0.01 to 1000 rad/see, enter the following ‘command: w = logspace(-2,3,100) ‘This command generates 100 points logarithmically equally spaced between 0.01 and 1000 rad/sec. (Note that such a vector w specifies the frequencies in radians per second at which the frequency response will be calculated.) If we use the command bode(num,den,w) then the frequency range is as the user specified, but the magnitude range and phase-angle Tange will be automatically determined See MATLAB Program 7-3 and the resulting plot in Figure 7-23, SS MATLAB Program 7-3 po num = (9 1.8 9}; den=[1 1.2 9 0]; w = logspacet-2,3,100); bodeinum,den,w) Uitle(-Bode Diagram of G(s) = G52 + 0.25 + I/ls(s2 + 1.25 + 9))") Bode Diagram of Gts) = 9(2? +0.25-+ 1)fs(e24 1.28 +99) sD Ba $ Phase (deg); Magnitude (dB) © (2125 +9) Frequency (rad‘e2) Section 7-2 / Bode Diagrams 425
You might also like
Control Systems MATLAB File
PDF
No ratings yet
Control Systems MATLAB File
25 pages
Ee4302 Ca1
PDF
No ratings yet
Ee4302 Ca1
51 pages
CS Matlab Exercises
PDF
No ratings yet
CS Matlab Exercises
16 pages
Control System Toolbox For Matlab: Intro
PDF
No ratings yet
Control System Toolbox For Matlab: Intro
12 pages
CS Lab MATLAB Exp
PDF
No ratings yet
CS Lab MATLAB Exp
13 pages
Automatic Control System Matlab Program
PDF
No ratings yet
Automatic Control System Matlab Program
14 pages
Controls Systems Examples
PDF
No ratings yet
Controls Systems Examples
67 pages
Ci Assignment[1] ENG22EC0108
PDF
No ratings yet
Ci Assignment[1] ENG22EC0108
11 pages
Appendix
PDF
No ratings yet
Appendix
16 pages
Lab2 Computer Controlled Sys
PDF
No ratings yet
Lab2 Computer Controlled Sys
11 pages
EXPE7
PDF
No ratings yet
EXPE7
10 pages
Lab Matlab
PDF
No ratings yet
Lab Matlab
67 pages
CS Lab
PDF
No ratings yet
CS Lab
16 pages
Control Lecture - 9
PDF
No ratings yet
Control Lecture - 9
7 pages
Control System Practical
PDF
No ratings yet
Control System Practical
19 pages
Gnum Poly ( (3 5) ) Gden Poly ( (-1 - 2) ) Hnum (1) Hden
PDF
No ratings yet
Gnum Poly ( (3 5) ) Gden Poly ( (-1 - 2) ) Hnum (1) Hden
8 pages
Ci Assignment[1] ENG22EC0108
PDF
No ratings yet
Ci Assignment[1] ENG22EC0108
11 pages
Matlab Manual
PDF
No ratings yet
Matlab Manual
16 pages
Ece305 PDF
PDF
No ratings yet
Ece305 PDF
24 pages
Matlab Commands
PDF
No ratings yet
Matlab Commands
4 pages
Software Simulation For Bode Plot
PDF
No ratings yet
Software Simulation For Bode Plot
8 pages
CS Cep Masood082 Faizan086 Alishba 027
PDF
No ratings yet
CS Cep Masood082 Faizan086 Alishba 027
23 pages
Computer Techniques Engineering Department: Dijlah University College
PDF
No ratings yet
Computer Techniques Engineering Department: Dijlah University College
46 pages
MATLAB Tutor Presntation PDF
PDF
No ratings yet
MATLAB Tutor Presntation PDF
26 pages
Time & Frequency Response of The System Using MATLAB: Software
PDF
No ratings yet
Time & Frequency Response of The System Using MATLAB: Software
9 pages
EEE-404 - Control System I Lab - 2019-2020
PDF
No ratings yet
EEE-404 - Control System I Lab - 2019-2020
15 pages
Lab 9 15F8418
PDF
No ratings yet
Lab 9 15F8418
13 pages
Lab 9
PDF
No ratings yet
Lab 9
12 pages
m1
PDF
No ratings yet
m1
30 pages
Control System Lab - Exp - 4-14
PDF
No ratings yet
Control System Lab - Exp - 4-14
41 pages
Manual - Control System Lab
PDF
No ratings yet
Manual - Control System Lab
20 pages
Control-Systems Lab (080-096)
PDF
No ratings yet
Control-Systems Lab (080-096)
17 pages
U I (UIU) : Expt. No. 9 F R A M
PDF
No ratings yet
U I (UIU) : Expt. No. 9 F R A M
5 pages
Lab 8
PDF
No ratings yet
Lab 8
12 pages
Plotting Root Locus For DC Motor Position Control: M-File
PDF
No ratings yet
Plotting Root Locus For DC Motor Position Control: M-File
12 pages
Aim: - To Find Transpose of A Given Matrix. Apparatus: - MATLAB Kit. Theory
PDF
No ratings yet
Aim: - To Find Transpose of A Given Matrix. Apparatus: - MATLAB Kit. Theory
10 pages
Experiment No.1 Time Response of First Order System: 1.matlab Program
PDF
No ratings yet
Experiment No.1 Time Response of First Order System: 1.matlab Program
5 pages
Department: Lab Manual
PDF
No ratings yet
Department: Lab Manual
36 pages
4th Year Control Lab 1
PDF
No ratings yet
4th Year Control Lab 1
3 pages
SSLEXP4
PDF
No ratings yet
SSLEXP4
9 pages
Control Engineering LAB-6 Introduction To Some MATLAB's Control Functions Root Locus 6.1: Root Locus
PDF
No ratings yet
Control Engineering LAB-6 Introduction To Some MATLAB's Control Functions Root Locus 6.1: Root Locus
12 pages
The Matlab Language
PDF
No ratings yet
The Matlab Language
30 pages
Control Lab Report Experiment No. 01 PDF
PDF
No ratings yet
Control Lab Report Experiment No. 01 PDF
5 pages
Control Lab Report Experiment No. 01
PDF
100% (1)
Control Lab Report Experiment No. 01
5 pages
Control Systems LAB # 8 Design Via Root Locus: Example: Find The Root Locus For The T.F Matlab Code
PDF
No ratings yet
Control Systems LAB # 8 Design Via Root Locus: Example: Find The Root Locus For The T.F Matlab Code
6 pages
18.45.18.05.2023_Control_Notes_Time_Response_MATLAB_Solution_Lect_3.1
PDF
No ratings yet
18.45.18.05.2023_Control_Notes_Time_Response_MATLAB_Solution_Lect_3.1
32 pages
Muhammad Kashif Safiyy Lab 3 Matlab
PDF
No ratings yet
Muhammad Kashif Safiyy Lab 3 Matlab
9 pages
Lecture5, Root Locus
PDF
No ratings yet
Lecture5, Root Locus
45 pages
Control Exp 8 Student Manual
PDF
No ratings yet
Control Exp 8 Student Manual
7 pages
Mannual 2020-21
PDF
No ratings yet
Mannual 2020-21
89 pages
MATLAB Control-System Toolbox Tutorial
PDF
No ratings yet
MATLAB Control-System Toolbox Tutorial
2 pages
Control System Lab
PDF
No ratings yet
Control System Lab
2 pages
Bodeplot
PDF
No ratings yet
Bodeplot
13 pages
LAB Session of Robotics and Automation1
PDF
No ratings yet
LAB Session of Robotics and Automation1
12 pages
CNS216D EXP 2 ULISSES
PDF
No ratings yet
CNS216D EXP 2 ULISSES
16 pages
Feedback and Control Systems: Activity No. 4 - Root Locus Analysis of Systems
PDF
100% (1)
Feedback and Control Systems: Activity No. 4 - Root Locus Analysis of Systems
8 pages
ENG3018 Practical 0
PDF
No ratings yet
ENG3018 Practical 0
11 pages
Lab-06: Understanding of State Space Model and Bode Plot of Closed-Loop Control Systems
PDF
No ratings yet
Lab-06: Understanding of State Space Model and Bode Plot of Closed-Loop Control Systems
2 pages
Closed Loop Systems Analysis
PDF
No ratings yet
Closed Loop Systems Analysis
7 pages
CH 01
PDF
No ratings yet
CH 01
10 pages
CH 02
PDF
No ratings yet
CH 02
9 pages
College of Engineering and Computer Science
PDF
No ratings yet
College of Engineering and Computer Science
1 page
ST 371 (III) - Conditional Probability and Independence
PDF
No ratings yet
ST 371 (III) - Conditional Probability and Independence
18 pages
Due Date: Grade: July 24, 2014 Student Name (Print)
PDF
No ratings yet
Due Date: Grade: July 24, 2014 Student Name (Print)
1 page
Exam 1 Fall02
PDF
No ratings yet
Exam 1 Fall02
5 pages
Homework Anasys
PDF
No ratings yet
Homework Anasys
2 pages
Discrete Probability Distributions
PDF
No ratings yet
Discrete Probability Distributions
7 pages
Due Date: Grade: July 17, 2014 Student Name (Print)
PDF
No ratings yet
Due Date: Grade: July 17, 2014 Student Name (Print)
1 page
Due: 9:30 Am, Thursday 06/19/2014 Student Name (Print) : Grade
PDF
No ratings yet
Due: 9:30 Am, Thursday 06/19/2014 Student Name (Print) : Grade
2 pages
Press and Shrink Fits
PDF
No ratings yet
Press and Shrink Fits
11 pages
Hardness Report
PDF
No ratings yet
Hardness Report
23 pages
Related titles
Click to expand Related Titles
Carousel Previous
Carousel Next
Control Systems MATLAB File
PDF
Control Systems MATLAB File
Ee4302 Ca1
PDF
Ee4302 Ca1
CS Matlab Exercises
PDF
CS Matlab Exercises
Control System Toolbox For Matlab: Intro
PDF
Control System Toolbox For Matlab: Intro
CS Lab MATLAB Exp
PDF
CS Lab MATLAB Exp
Automatic Control System Matlab Program
PDF
Automatic Control System Matlab Program
Controls Systems Examples
PDF
Controls Systems Examples
Ci Assignment[1] ENG22EC0108
PDF
Ci Assignment[1] ENG22EC0108
Appendix
PDF
Appendix
Lab2 Computer Controlled Sys
PDF
Lab2 Computer Controlled Sys
EXPE7
PDF
EXPE7
Lab Matlab
PDF
Lab Matlab
CS Lab
PDF
CS Lab
Control Lecture - 9
PDF
Control Lecture - 9
Control System Practical
PDF
Control System Practical
Gnum Poly ( (3 5) ) Gden Poly ( (-1 - 2) ) Hnum (1) Hden
PDF
Gnum Poly ( (3 5) ) Gden Poly ( (-1 - 2) ) Hnum (1) Hden
Ci Assignment[1] ENG22EC0108
PDF
Ci Assignment[1] ENG22EC0108
Matlab Manual
PDF
Matlab Manual
Ece305 PDF
PDF
Ece305 PDF
Matlab Commands
PDF
Matlab Commands
Software Simulation For Bode Plot
PDF
Software Simulation For Bode Plot
CS Cep Masood082 Faizan086 Alishba 027
PDF
CS Cep Masood082 Faizan086 Alishba 027
Computer Techniques Engineering Department: Dijlah University College
PDF
Computer Techniques Engineering Department: Dijlah University College
MATLAB Tutor Presntation PDF
PDF
MATLAB Tutor Presntation PDF
Time & Frequency Response of The System Using MATLAB: Software
PDF
Time & Frequency Response of The System Using MATLAB: Software
EEE-404 - Control System I Lab - 2019-2020
PDF
EEE-404 - Control System I Lab - 2019-2020
Lab 9 15F8418
PDF
Lab 9 15F8418
Lab 9
PDF
Lab 9
m1
PDF
m1
Control System Lab - Exp - 4-14
PDF
Control System Lab - Exp - 4-14
Manual - Control System Lab
PDF
Manual - Control System Lab
Control-Systems Lab (080-096)
PDF
Control-Systems Lab (080-096)
U I (UIU) : Expt. No. 9 F R A M
PDF
U I (UIU) : Expt. No. 9 F R A M
Lab 8
PDF
Lab 8
Plotting Root Locus For DC Motor Position Control: M-File
PDF
Plotting Root Locus For DC Motor Position Control: M-File
Aim: - To Find Transpose of A Given Matrix. Apparatus: - MATLAB Kit. Theory
PDF
Aim: - To Find Transpose of A Given Matrix. Apparatus: - MATLAB Kit. Theory
Experiment No.1 Time Response of First Order System: 1.matlab Program
PDF
Experiment No.1 Time Response of First Order System: 1.matlab Program
Department: Lab Manual
PDF
Department: Lab Manual
4th Year Control Lab 1
PDF
4th Year Control Lab 1
SSLEXP4
PDF
SSLEXP4
Control Engineering LAB-6 Introduction To Some MATLAB's Control Functions Root Locus 6.1: Root Locus
PDF
Control Engineering LAB-6 Introduction To Some MATLAB's Control Functions Root Locus 6.1: Root Locus
The Matlab Language
PDF
The Matlab Language
Control Lab Report Experiment No. 01 PDF
PDF
Control Lab Report Experiment No. 01 PDF
Control Lab Report Experiment No. 01
PDF
Control Lab Report Experiment No. 01
Control Systems LAB # 8 Design Via Root Locus: Example: Find The Root Locus For The T.F Matlab Code
PDF
Control Systems LAB # 8 Design Via Root Locus: Example: Find The Root Locus For The T.F Matlab Code
18.45.18.05.2023_Control_Notes_Time_Response_MATLAB_Solution_Lect_3.1
PDF
18.45.18.05.2023_Control_Notes_Time_Response_MATLAB_Solution_Lect_3.1
Muhammad Kashif Safiyy Lab 3 Matlab
PDF
Muhammad Kashif Safiyy Lab 3 Matlab
Lecture5, Root Locus
PDF
Lecture5, Root Locus
Control Exp 8 Student Manual
PDF
Control Exp 8 Student Manual
Mannual 2020-21
PDF
Mannual 2020-21
MATLAB Control-System Toolbox Tutorial
PDF
MATLAB Control-System Toolbox Tutorial
Control System Lab
PDF
Control System Lab
Bodeplot
PDF
Bodeplot
LAB Session of Robotics and Automation1
PDF
LAB Session of Robotics and Automation1
CNS216D EXP 2 ULISSES
PDF
CNS216D EXP 2 ULISSES
Feedback and Control Systems: Activity No. 4 - Root Locus Analysis of Systems
PDF
Feedback and Control Systems: Activity No. 4 - Root Locus Analysis of Systems
ENG3018 Practical 0
PDF
ENG3018 Practical 0
Lab-06: Understanding of State Space Model and Bode Plot of Closed-Loop Control Systems
PDF
Lab-06: Understanding of State Space Model and Bode Plot of Closed-Loop Control Systems
Closed Loop Systems Analysis
PDF
Closed Loop Systems Analysis
CH 01
PDF
CH 01
CH 02
PDF
CH 02
College of Engineering and Computer Science
PDF
College of Engineering and Computer Science
ST 371 (III) - Conditional Probability and Independence
PDF
ST 371 (III) - Conditional Probability and Independence
Due Date: Grade: July 24, 2014 Student Name (Print)
PDF
Due Date: Grade: July 24, 2014 Student Name (Print)
Exam 1 Fall02
PDF
Exam 1 Fall02
Homework Anasys
PDF
Homework Anasys
Discrete Probability Distributions
PDF
Discrete Probability Distributions
Due Date: Grade: July 17, 2014 Student Name (Print)
PDF
Due Date: Grade: July 17, 2014 Student Name (Print)
Due: 9:30 Am, Thursday 06/19/2014 Student Name (Print) : Grade
PDF
Due: 9:30 Am, Thursday 06/19/2014 Student Name (Print) : Grade
Press and Shrink Fits
PDF
Press and Shrink Fits
Hardness Report
PDF
Hardness Report