What is the fastest way to divide data by the covariance matrix?
1 view (last 30 days)
Show older comments
I am doing the following calculation:
X_adj = X * C^(-1/2);
where X is my data, and C is a covariance matrix. I need to do this repeatedly. Is there a faster way? Typical data size varies between 10x200 and 100x1000.
0 Comments
Answers (1)
Star Strider
on 21 Jul 2015
I would see if using the sqrtm function and doing a regular matrix right division works:
X_adj = X/sqrtm(C);
See Also
Categories
Find more on Logical in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!