| 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.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public double[] WaveletCoefficients(
DiscreteWaveletTransformWaveletCoefficientType type,
int N
)
Public Function WaveletCoefficients (
type As DiscreteWaveletTransformWaveletCoefficientType,
N As Integer
) As Double()
public:
array<double>^ WaveletCoefficients(
DiscreteWaveletTransformWaveletCoefficientType type,
int N
)
member WaveletCoefficients :
type : DiscreteWaveletTransformWaveletCoefficientType *
N : int -> float[]
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
DoubleThe detail vector at level L.
Exceptions Exception | Condition |
---|
NMathException | A signal Decomposition( int N ) must be completed before any signal details vectors can be accessed. |
InvalidArgumentException | A level of details has been requested that is beyond the maximum level of signal decomposition available. |
Remarks Similar to MATLAB's wrcoef.
See Also