Linear system equation Solve the following system of linear equations: 2 x + y – 4 z = 5 x - 2 y - 5 z = - 6.5 y + 2 z = 4 One possible solution is by.

Slides:



Advertisements
Similar presentations
Polynomial Inequalities in One Variable
Advertisements

Root Locus Diagrams Professor Walter W. Olson
H(s) x(t)y(t) 8.b Laplace Transform: Y(s)=X(s) H(s) The Laplace transform can be used in the solution of ordinary linear differential equations. Let’s.
SOLUTION OF STATE EQUATION
Nyquist Stability Criterion
Chapter 10: Frequency Response Techniques 1 ©2000, John Wiley & Sons, Inc. Nise/Control Systems Engineering, 3/e Chapter 10 Frequency Response Techniques.
Frequency Response Techniques
Lecture 16 Symbolic Mathematics Symbolic mathematics: algebraezplotcalculus © 2007 Daniel Valentine. All rights reserved. Published by Elsevier.
Chapter 8 Root Locus <<<4.1>>>
Review. Please Return Loan Clickers to the MEG office after Class! Today! FINAL EXAM: Wednesday December 8 8:00 AM to 10:00 a.m.
Frequency Response Methods and Stability
Matlab Matlab is a powerful mathematical tool and this tutorial is intended to be an introduction to some of the functions that you might find useful.
LINEAR CONTROL SYSTEMS
Lecture 211 EEE 302 Electrical Networks II Dr. Keith E. Holbert Summer 2001.
1 Supplement Partial Derivatives. 2 1-D Derivatives (Review) Given f(x). f'(x) = df/dx = Rate of change of f at point x w.r.t. x h f(x + h) – f(x) xx+h.
Sheng-Fang Huang. Definition of Derivative The Basic Concept.
Bell Work: Find the values of all the unknowns: R T = R T T + T = 60 R = 3 R =
4.5 Solving Systems using Matrix Equations and Inverses.
4.5 Solving Systems using Matrix Equations and Inverses OBJ: To solve systems of linear equations using inverse matrices & use systems of linear equations.
We will use Gauss-Jordan elimination to determine the solution set of this linear system.
The Root Locus Analysis Eng R. L. Nkumbwa MSc, MBA, BEng, REng. Copperbelt University.
Feedback Control System THE ROOT-LOCUS DESIGN METHOD Dr.-Ing. Erwin Sitompul Chapter 5
MATLAB Basics. The following screen will appear when you start up Matlab. All of the commands that will be discussed should be typed at the >> prompt.
1. Inverse of A 2. Inverse of a 2x2 Matrix 3. Matrix With No Inverse 4. Solving a Matrix Equation 1.
13.6 MATRIX SOLUTION OF A LINEAR SYSTEM.  Examine the matrix equation below.  How would you solve for X?  In order to solve this type of equation,
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Block Diagrams H(s) + - R(s) Y(s) E(s)
Vectors and Matrices In MATLAB a vector can be defined as row vector or as a column vector. A vector of length n can be visualized as matrix of size 1xn.
Solving Quadratic Equations by Factoring. Solution by factoring Example 1 Find the roots of each quadratic by factoring. factoring a) x² − 3x + 2 b) x².
Automatic Control Systems
Chapter 21 Exact Differential Equation Chapter 2 Exact Differential Equation.
Lec 9. Root Locus Analysis I From last lecture, the locations of the closed loop poles have important implication in –Stability –Transient behavior –Steady.
Solving equations with polynomials – part 2. n² -7n -30 = 0 ( )( )n n 1 · 30 2 · 15 3 · 10 5 · n + 3 = 0 n – 10 = n = -3n = 10 =
, Free vibration Eigenvalue equation EIGENVALUE EQUATION
4.7 Solving Systems using Matrix Equations and Inverses
Review. Feedback Terminology In Block diagrams, we use not the time domain variables, but their Laplace Transforms. Always denote Transforms by (s)!
The root locus technique 1.Obtain closed-loop TF and char eq d(s) = 0 2.Rearrange d(s) by grouping terms proportional to parameter of interest, and those.
Differential Equations Linear Equations with Variable Coefficients.
GUIDED PRACTICE for Example – – 2 12 – 4 – 6 A = Use a graphing calculator to find the inverse of the matrix A. Check the result by showing.
Root Locus Techniques (Sketching Method) Date: 25 th September 2008 Prepared by: Megat Syahirul Amin bin Megat Ali
7.1 Root Locus (RL) Principle We introduce the RL through an example. Consider servo motor system shown bellow The closed loop transfer function is motor.
Lecture 4: The z-Transform 1. The z-transform The z-transform is used in sampled data systems just as the Laplace transform is used in continuous-time.
3.8B Solving Systems using Matrix Equations and Inverses.
Polynomial P(x) Linear Factors Solutions of P(x)=0 Zeros of P(x) P(x) = 0.
SINUSOIDAL FREQUENCY ANALYSIS To study the behavior of a network as a function of the frequency we analyze the network function as a function of Circuit.
디지털 제어 Sun Moon University 1 of 32 목 차 7. Stability Kyoung-Chul DIGITAL CONTROL.
Signals and Systems, 2/E by Simon Haykin and Barry Van Veen Copyright © 2003 John Wiley & Sons. Inc. All rights reserved. Figure 9.1 (p. 664) Two different.
Lecture 11/12 Analysis and design in the time domain using root locus North China Electric Power University Sun Hairong.
Intelligent Robot Lab Pusan National University Intelligent Robot Lab Chapter 6. TRANSIENT RESPONSE -- STABILITY Pusan National University Intelligent.
Mathematical Applications By Matlab 3 rd Day Dr. Wael Khedr CSI Dept.
Exercise 1 Suppose we have a simple mass, spring, and damper problem. Find The modeling equation of this system (F input, x output). The transfer function.
Section 9.4 – Solving Differential Equations Symbolically Separation of Variables.
Use Inverse Matrices to Solve Linear Systems
EEE 244-3: MATRICES AND EQUATION SOLVING
Lesson 12: Transfer Functions In The Laplace Domain
© Dr. Elmer P. Dadios - DLSU Fellow & Professor
Differential Equations
Antidifferentiation and Indefinite Integrals
The Inverse of a Square Matrix
Network Analysis and Synthesis
Symbolic mathematics: algebra ezplot calculus
Solving Linear Systems Algebraically
Using matrices to solve Systems of Equations
Use Inverse Matrices to Solve 2 Variable Linear Systems
3.8 Use Inverse Matrices to Solve Linear Systems
Root-Locus Analysis (2)
EEE 244-3: MATRICES AND EQUATION SOLVING
ECEN 605 Linear Control Systems Instructor: S.P. Bhattacharyya
1.11 Use Inverse Matrices to Solve Linear Systems
Chapter 6. STABILITY Good relationships nurture you. They help you find yourself and who you are. I don’t mean just relationships with boys or men. Relationships.
Solving Linear Systems of Equations - Inverse Matrix
Presentation transcript:

Linear system equation Solve the following system of linear equations: 2 x + y – 4 z = 5 x - 2 y - 5 z = y + 2 z = 4 One possible solution is by computing the inverse of the matrix of coefficients: To do this exercise follow these steps:

Solving linear equations Solve the following system of linear equations: 2 x + y – 4 z = 5 x - 2 y - 5 z = y + 2 z = 4 One possible solution is by computing the inverse of the matrix coefficients: To do this exercise follow these steps:

In matrix form, the above equations can be written as

Define the matrix D and the vector M shown below using the same method used in step 1:

Solving linear equations_1 % y+4z+x = 10 % -2z+3x+4y = 0 % -2*z+3*x+4*y = 0' In general, you can use sym or syms to create symbolic variables M_File for solving equations is: clear, syms x y z; eq1 = '2*x-3*y+4*z = 5' eq2 = 'y+4*z+x = 10', eq3 = '-2*z+3*x+4*y = 0' [x,y,z] = solve(eq1,eq2,eq3,x,y,z)

Solving linear equations_2 % 2 x + y – 4 z = 5 % x - 2 y - 5 z = % y + 2 z = 4 % Multiply the inverse of the matrix D by the vector M by typing D=[2 1 4; ;0 1 2] M=[5; -6.5; 4] X=inv(D)*M

Differentiation diff_f =df/dx f = e -ax x 3b sin(cx) a, b and c are unspecified constants clear, syms a b c x; f=exp(-a*x)*x^(3*b)*sin(c*x), diff_f = diff(f,x)

Differentiation f = exp(-a*x)*x^(3*b)*sin(c*x) diff_f = -a*exp(-a*x)*x^(3*b)*sin(c*x)+3*exp(- a*x)*x^(3*b)*b/x*sin(c*x)+exp(-a*x)*x^(3*b)*cos(c*x)*c

derivatives of polynomial functions Examples of derivatives of polynomial functions: syms s n p = s^3 + 4*s^2 -7*s -10; >> d = diff(p) d = 3*s^2+8*s-7

Integral of equation int(x^3 +4*x^2 + 7*x + 10) ans = 1/4*x^4+4/3*x^3+7/2*x^2+10*x int(x^3,a,b) ans = 1/4*b^4-1/4*a^4

Integral int(1/x) ans = log(x) >> int(cos(x)) ans = sin(x) >> int(1/(1+x^2)) ans = atan(x) >> int(exp(-x^2)) ans = 1/2*pi^(1/2)*erf(x)

Limit integral f = inline(vectorize(sin(x^3 - 7*x)),'x') quad(f,2,4) f = Inline function: f(x) = sin(x.^3-7.*x) ans =

A sample evaluation of a double integral

Infinite integral We type in: >> f = inline(vectorize((1-u)*sin(u*v*(1- u))),’u’,’v’) >> dblquad(f,0,1,0,1)

Control Systems Closed-Loop Poles The closed-loop transfer function is: thus the poles of the closed loop system are values of s such that 1 + K H(s) = 0

Closed-Loop system If we write H(s) = b(s)/a(s), then this equation has the form: a(s)+kb(s)=0 A(s)/k +b(s)=0 Let n = order of a(s) and m = order of b(s) [the order of a polynomial is the highest power of s that appears in it]. We will consider all positive values of k. In the limit as k -> 0, the poles of the closed-loop system are a(s) = 0 or the poles of H(s). I n the limit as k -> infinity, the poles of the closed-loop system are b(s) = 0 or the zeros of H(s).

Plotting the root locus of a transfer function Consider an open loop system which has a transfer function of

Closed loop systems num=[1 7]; den=conv(conv([1 0],[1 5]),conv([1 15],[1 20])); rlocus(num,den) axis([ ])axis

gain and phase margins margin(50,[ ])

Bode Plots As noted above, a Bode plot is the representation of the magnitude and phase of G(j*w) (where the frequency vector w contains only positive frequencies). To see the Bode plot of a transfer function, you can use the Matlab bode command. For example, bode(50,[ ]) displays the Bode plots for the transfer function:

bode(50,[ ])

bode(1, [1 1])

bode([1 0], 1)

bode(1,[ 1, 0.1])

bode(1,[ 1, 10])

Plot all these bodes bode([1, 0.1],1) # S+0.1 bode([1, 10],1) # S+10 bode([1 1], 1) # S+1