eigen value of the transfer function 2x2 matrix
Mostrar comentarios más antiguos
hello
I have 2x2 matrix
G=[1/(s+1) 1/(s+2);1/(s+3) 1/(s+4)] where G(1,1)=/(s+1) G(1,2)=1/(s+2) G(2,1)=1/(s+3) G(2,2)=1/(s+4)
Now because it is a 2x2 matrix it must have 2 eigen values .
so my questions are:
- How to calculate the determinant of G matrix?
- How to find the eigen values of the G matrix?
- How to get the eigen vectors of the G matrix?
- I want to perform the following operation ------- SQUAREROOT OF((G(1,1)+G(2,2))/2) but I am unable to do.
1 comentario
The discussion below indicates these questions are related to multivariable stability analysis. But it's not clear how any of your questions 3-4 actually relate to that type of analysis. Can you clarify what you're actually trying to do and explain why you need to complete the operations in questions 3-4?
Respuesta aceptada
Más respuestas (3)
Walter Roberson
el 23 de Ag. de 2020
If you use the symbolic toolbox,
syms s
G=[1/(s+1) 1/(s+2);1/(s+3) 1/(s+4)]
then you can do all of those operations directly.
If you use
s = tf('s');
G=[1/(s+1) 1/(s+2);1/(s+3) 1/(s+4)]
then you can do det(G) and eig(G) but eig(G) will not return the eigenvectors
An example of finding eigenvectors from eigenvalues is at https://www.scss.tcd.ie/Rozenn.Dahyot/CS1BA1/SolutionEigen.pdf
SQUAREROOT OF((G(1,1)+G(2,2))/2)
The sqrt() is the problem; sqrt() is not defined for transfer functions
Maple tells me that that particular expression might have an inverse laplace,
exp(-4*t)*int(3*((4*Dirac(_U1)*sqrt(t - _U1))/3 + sqrt(t)*exp((9*_U1)/4)*(BesselI(0, (3*_U1)/4) + BesselI(1, (3*_U1)/4)))/sqrt(t - _U1), _U1 = 0 .. t)/(4*sqrt(Pi)*sqrt(t))
MANAS MISHRA
el 24 de Ag. de 2020
5 comentarios
Walter Roberson
el 25 de Ag. de 2020
The eigenvalues involve square roots, and those make the transforms difficult. They cannot be stated in terms of standard tf form unless perhaps as approximation. The discussions I find argue about whether the transform for sqrt(s) even exists (difficulties at 0).
Note that I have not studied control systems theory so I do not have the background for this.
nyquist does not accept symbolic expressions. I have not been able to find the mathematics of nyquist as yet.
MANAS MISHRA
el 25 de Ag. de 2020
Walter Roberson
el 26 de Ag. de 2020
Editada: Walter Roberson
el 26 de Ag. de 2020
I traced the calls further, and found that the nyquist plot code converts the system to zpk form, and then iterates through a list of frequencies to calculate the zpk response at the frequency. Unfortunately that calculation routine is a mex file so I do not know how it calculates the response.
To calculate the zpk it finds the roots of the numerator and denominator and the ratio of the leading coefficients.
The zpk representation assumes polynomials. You can seek out the roots anyhow thinking you might get a hint about the behaviour. The roots of the numerator are -4. The roots of the denominator are -4 and -1. -4 is an overall zero in theory because of limits.
... but really you have to examine the poles of the sqrt in the numerator, which are -2 and -3, so the overall poles are -4 -3 -2 -1. And the function goes complex for part and I do not know what to do with that.
MANAS MISHRA
el 26 de Ag. de 2020
Walter Roberson
el 26 de Ag. de 2020
(note that I edited my comment)
MANAS MISHRA
el 28 de Ag. de 2020
Editada: Walter Roberson
el 28 de Ag. de 2020
2 comentarios
Walter Roberson
el 28 de Ag. de 2020
max(w)
ans =
Inf
The usable range for logspace is -324 to +308
Obviously I don't know what you're actually trying to accomplish, but I really doubt you need to use a 50000 pont vector spanning the entire space of usable frequencies. But maybe you do. Along those same lines, is computing the eigenvalues symbolically going to work for problems of even moderate complexity? I have basically no experience with the Symbolic Toolbox and don't really know what its limitations are in computing eigenvalues symbolically. And even if you can get expressions for the eigenvalues, they may very well be very high order polynomials that may not lend themselves well to numericaly evaluation.
Categorías
Más información sobre Programming en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!