Best basis

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:

Note:

Mathcad Example