Click or drag to resize

DoubleDWTWaveletCoefficients Method

After a signal decomposition is completed the detail vectors can be accessed. Depending on the length of the wavelet and signal vector the approximations may have an extra element at the end of the vector due to the IDWT.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public double[] WaveletCoefficients(
	DiscreteWaveletTransformWaveletCoefficientType type,
	int N
)

Parameters

type  DiscreteWaveletTransformWaveletCoefficientType
The wavelet coefficient type, either details or approximation.
N  Int32
Detail level needed, starting with N = 1 and continuing to the maximum level of decomposition completed.

Return Value

Double
The detail vector at level L.
Exceptions
ExceptionCondition
NMathExceptionA signal Decomposition( int N ) must be completed before any signal details vectors can be accessed.
InvalidArgumentExceptionA level of details has been requested that is beyond the maximum level of signal decomposition available.
Remarks
Similar to MATLAB's wrcoef.
See Also