1
pencan Scilab Group Scilab Function pencan
3
pencan - canonical form of matrix pencil
9
Fs : a regular pencil s*E-A
11
E,A : two real square matrices
13
Q,M : two non-singular real matrices
18
Given the regular pencil Fs=s*E-A, pencan returns matrices Q and M such
19
than M*(s*E-A)*Q is in "canonical" form.
21
M*E*Q is a block matrix
25
with N nilpotent and i1 = size of the I matrix above.
27
M*A*Q is a block matrix:
32
F=randpencil([],[1,2],[1,2,3],[]);
33
F=rand(6,6)*F*rand(6,6);
36
roots(det(W(1:i1,1:i1)))
39
glever, penlaur, rowshuff