best_basis(T,f) Returns the best packet basis from a 1D or 2D packet table T, based on the additive cost function f.
basis_display2d(b) Creates a matrix for graphically displaying 2 dimensional basis b.
Arguments:
T is a vector of nested arrays representing a 1D or 2D wavelet packet table or a 1D or 2D cosine packet table.
f is an additive cost function such as the entropy function.
b is a 3-column matrix representing a 2D packet basis.
Note:
To see the matrix returned by basis_display2d graphically, choose Picture from
the Insert menu and enter the basis_display2d function in the placeholder.