nay0648/unified2021

Could you help to explain your heig2.m computation please?

zcy618 opened this issue · 3 comments

hi dear friend:
I checked your heig2.m file, but I could not understand what does this file do please?
I guess this file is doing "the generalized eigenvalue decomposition", but from your computation steps, I am not able to match the the generalized eigenvalue decomposition equation, and this file is only to support 2x2 matrix.
Thanks.

Hi, thanks for watching. Heig2.m is used to solve the 2 x 2 generalized eigendecomposition problem for 2 x 2 Hermitian matrices. It only supports 2 x 2 Hermitian matrices, since that is enough for the two sources separation problems. Since the problem scale is small, eigenvalues and eigenvectors can be solved according to the definition of GEV problem, which yields the characteristic equation (1) in the attachment. Equation (1) means the determinant of (2) is zero, then, eigenvalues lambda can be solved from the quadratic equation in one variable. After this, eigenvalues are solved according to the equation (18) of: Ono, Nobutaka. "Fast stereo independent vector analysis and its implementation on mobile phone." IWAENC 2012; International Workshop on Acoustic Signal Enhancement. VDE, 2012. Best wishes! At 2021-01-20 07:46:43, "zcy618" notifications@github.com wrote: hi dear friend: I checked your heig2.m file, but I could not understand what does this file do please? I guess this file is doing "the generalized eigenvalue decomposition", but from your computation steps, I am not able to match the the generalized eigenvalue decomposition equation, and this file is only to support 2x2 matrix. Thanks. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

hi nay0648:
Thanks for your reply, I still have one question: the output has two channel data, but the required data is randomly in one of the two channel, for example, the input data has voice data and music, the output could seperate voice and music excellently, but the voice sometimes in channel 0, sometimes channel 1. So my question is that how could I get to know the required data in which channel, or how could I fix the voice in one channel?
Thanks