Canonical Correlation Analysis, reversiblity
Afficher commentaires plus anciens
Hello everyone,
I have little problem with the function canoncorr(...).
If I've understood correctly, the function returns two values a and b respecting a.X = b.Y.
So, if if I do:
[a,b] = canoncorr(X,Y)
I should get the same as:
[b,a] = canoncorr(Y,X)
But for some reason, when I have large matrices (I've actually seen this happen with 3*900 matrices), the results vary slightly.
Is this a problem of inaccuracy with matlab or do I need to brush up on my maths lessons?
Thank you lot for you answers
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Linear Algebra dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!