electricpete
Electrical
- May 4, 2001
- 16,774
In the book "Rotating Equipment Vibration" by Mauric Adams, he gives an algorithm for generating M, K, C matrices for a rotor which is very straightforward (each rotor station gets 4 variables) until the point that he adds a mass below a bearing support. To do this he inserts rows into the middle of the matrix which complicates the relationship between the indeces and the physical problem significantly, but preserves the pattern that the non-diagonal elements are concentrated along the diagonal and elements adjacent to the diagonal. From the discussion I gather he did this intentionally because he believes it aids efficiency of the computer algorithm for eigenvalues although he doesn't mention Matlab.
Does anyone know if this is true for Matlab? For example is it easier/faster to compute eigenvalue for matrix with nonzero values concentrated along the diagonal:
X X 0 0 0 0
0 X X 0 0 0
0 0 X X 0 0
0 0 0 X X 0
0 0 0 0 X X
... (is it easier...)... than if we have the same matrix with two rows swapped (for more logical indexing) such as:
X X 0 0 0 0
0 0 X X 0 0
0 0 0 X X 0
0 0 0 0 X X
0 X X 0 0 0
Note the actual matrix could be somewhere in the range 50x50 or 100x100.
=====================================
Eng-tips forums: The best place on the web for engineering discussions.
Does anyone know if this is true for Matlab? For example is it easier/faster to compute eigenvalue for matrix with nonzero values concentrated along the diagonal:
X X 0 0 0 0
0 X X 0 0 0
0 0 X X 0 0
0 0 0 X X 0
0 0 0 0 X X
... (is it easier...)... than if we have the same matrix with two rows swapped (for more logical indexing) such as:
X X 0 0 0 0
0 0 X X 0 0
0 0 0 X X 0
0 0 0 0 X X
0 X X 0 0 0
Note the actual matrix could be somewhere in the range 50x50 or 100x100.
=====================================
Eng-tips forums: The best place on the web for engineering discussions.