accuracy of two methods to solve eignvalues/eignvector problem
Ältere Kommentare anzeigen
I am trying to solve an eignvalue/eignvector problem related to the multi-class LDA. The equation is inv(Sw)*Sb. I have two solutions:
[E,D]=eig(inv(Sw)*Sb)
or
[E,D]=eig(Sb,Sw);
when I try them, I get different eignvectors and eignvalues in both cases. Am I supposed to get the same results and what is more accurate to use the first way or the second one?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Define Shallow Neural Network Architectures finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!