Click or drag to resize

FloatSWTWaveletCoefficients Method

Provides access to the details and approximation vectors. All details and approximation vectors are the same length with a SWT signal decomposition.

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

Parameters

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

Return Value

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