WLJS LogoWLJS Notebook

WaveletMatrixPlot

WaveletMatrixPlot[dwd] plots the basis tree of wavelet matrix coefficients in the DiscreteWaveletData dwd.

  • WaveletMatrixPlot[dwd, r] plots coefficients up to refinement level r.
  • WaveletMatrixPlot[dwd, r, func] applies func to coefficients before plotting.

Examples

Create a wavelet matrix plot:

data = Table[Sin[20 i/32] + Cos[5 j/32], {i, 0, 31}, {j, 0, 31}];
dwd = DiscreteWaveletTransform[data];
WaveletMatrixPlot[dwd]

Plot up to a specific refinement level:

data = Table[Sin[20 i/32] + Cos[5 j/32], {i, 0, 31}, {j, 0, 31}];
dwd = DiscreteWaveletTransform[data];
WaveletMatrixPlot[dwd, 3]

Apply absolute value before plotting:

data = Table[Sin[20 i/32] + Cos[5 j/32], {i, 0, 31}, {j, 0, 31}];
dwd = DiscreteWaveletTransform[data];
WaveletMatrixPlot[dwd, 3, Abs[#1] &]

Something isn't working? Report an issue.

Please visit the official Wolfram Language Reference for more details.

On this page