Return Without Grid Padding

Class: kwave.toolbox.Grid Package: kwave.toolbox

Trim the padding from an output matrix.

Syntax

matrix = returnWithoutGridPadding(obj, matrix)

Description

Trims the padding from an output matrix to account for the gridPadding of the associated Grid object.

Input Arguments

  • matrix - (numeric) Matrix to trim.

Output Arguments

  • matrix - (numeric) Trimmed matrix.

See Also

  • kwave.toolbox.Grid.assignWithGridPadding