Number of flops for finding the co-variance of matrix of size K*1

2 views (last 30 days)
Can someone please tell me what is the number of flops ( floating point operations ) required to find the co-variance of matrix of size K*1? Please help me.
Thanks. Kalpana

Accepted Answer

Walter Roberson
Walter Roberson on 17 Feb 2014
The best we can really do is talk about the computational complexity; see http://www.sciencedirect.com/science/article/pii/0045790683900290
Number of flops depends upon exact implementation. In turn that depends upon the size of the matrix; if it is sufficiently small then MATLAB would calculate it internally, but for larger matrices it would pass the data through an optimized mathematics library.

More Answers (0)

Categories

Find more on Problem-Based Optimization Setup 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!