Canonical Correlation Analysis, reversiblity
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Linear Algebra in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!