<div dir="ltr"><div>[V,D] = eig(A,B) produces<b> a diagonal matrix D of generalized</b></div><div><b>    eigenvalues</b> and a full matrix V whose columns are the</div><div>    corresponding eigenvectors so that A*V = B*V*D.</div><div class="gmail_extra"><br><div class="gmail_quote">2016-10-18 9:09 GMT-02:00 Vadlamani Samhitha <span dir="ltr"><<a href="mailto:vadlamani.samhitha@gmail.com" target="_blank">vadlamani.samhitha@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi list , I am performing CSP on EEG data . I have computed covariance matrices for class 1 and class 2 ( C1 and C2 ) . Now while obtaining  filter coefficients , I  have been suggested to perform generalized eigenvalue decomposition to get filter coefficients such that <span style="font-size:12.8px">W^T C1 W = D and W^T(C1+C2) W = I</span> .(Identity matrix )<div>So , I have used [W,D]=eig(C1,C1+C2) ; where W is my filter matrix , <b>D is the  eigenvalue matrix for C1</b> . </div><div>after doing so , when I manually try to check if the above two conditions are satisfied , they don't seem so . I have been struggling to find out what went wrong . I would be really grateful if someone could  suggest what I am missing here . Thank you in advance .</div></div>
<br>______________________________<wbr>_________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank">http://sccn.ucsd.edu/eeglab/<wbr>eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.<wbr>ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.<wbr>edu</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Cleison D. Silva<br>Faculdade de Engenharia Elétrica - FEE<br>Campus Universitário de Tucuruí - CAMTUC<br>Universidade Federal do Pará - UFPa</div>
</div></div>