Products & Services Solutions Academia Support User Community Company

Fast Multiplication of Large Matrices

This section illustrates matrix-vector multiplication in the wavelet domain.

It is clear that when sm is a sufficiently good approximation of m, the error with respect to ordinary multiplication can be small. This is the case in the first example below where m is a magic square. Conversely, when the wavelet representation of the matrix m is dense the error will be large (for example, if all the coefficients have the same order of magnitude). This is the case in the second example below where m is two-dimensional Gaussian white noise. The figure in Example 1 compares for n = 512, the number of floating point operations (flops) required by wavelet based method and by ordinary method versus L.

Example 1: Effective Fast Matrix Multiplication

Example 2: Ineffective Fast Matrix Multiplication

The commands used are the same as in Example 1, but applied to a new matrix m.

Then, you obtain


 Provide feedback about this page 

Previous page Compressing Images Wavelets in Action: Examples and Case Studies Next page

Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS