Singular Value Decomposition (SVD) is a powerful method to extract major components from a matrix of data. It will decompose a signal into major components and help you to extract the key issue that matters.
Principle of SVD
Suppose we have a signal array matrix as: , where n is time dimension, m is space dimension. After SVD to this signal matrix, it will be decomposed as the matrix product of three matrix as:
Where is time eigen vector, is space eigen vector. The surffix T stand for matrix transposition. is the matrix containing the eigenvalues. In python and matlab, the singular values and related singular matrices are arranged by their values from big to small. To examine the time and space property of a certain singular value , we can pick up the component in the eigen time and space vector. Then we perform a Fourier time transformation to the eigen time vector and get the frequency spectrum of the related singular value. If we plot the space eigen vector in the polar coordinate, we can get the space mode structure of the related singular value. The detailed code to calculated these transformation has been uploaded on Github (https://github.com/DocNan/Python_libs/). The code to conduct the SVD analysis can be called as: Python_libs.SVD_analysis().
Problem with Equal Singular Values?
When I use singular value decomposition for the test data, what puzzles me is that for a rotating signal matrix, it will be decomposed as two static component after SVD. The example signal matrix is generate like this:
{width=350px}
1 | Mode1: A1=10, f1=300 Hz, n1=3 |
{width=600px
This problem is actually can be explained as the decomposition of circular polarized rotation wave.
Decomposition of Circular Polarized Light
To understand the decomposition of the circular polarized light, we can do this inversely by composing two linearly polarized light to a circular polarized light. Suppose the two polarized lights are:
Then the coupled wave will be: , which is equal to the parameter equation:
Start from the expression of y, we have:
Consider the fact that , then the whole equation becomes:
With , where , the whole equation will be an normal equation of an ellipse. Then if we look inversely, we can decompose a circular rotation to two orthogonal linearly polarized light. That is the reason why we have decomposed the artificial travel/rotating wave into two static linear polarized harmonics.
Formation of the traveling/rotation wave/mode
So to reconstruct the traveling wave, we just need to combine the two equal singular values related harmonics together. For the above simulation, we can get:
{width=300px}
From this figure we can see the rotational wave is well reconstructed with the combination of 1st and 2nd equal singular value related components. See the shift of phase shift change with time, which represent mode rotation.
The related open source python SVD code has been upload on Github at:
https://github.com/DocNan/Python_libs
Welcome to visit!
And thanks for the helpful discussion on this problem on ResearchGate with Ronald Kessel and Francesco Barone.