chgwdeccfs
Change multisignal 1-D decomposition coefficients
Syntax
DEC = chgwdeccfs(DEC,'ca',COEFS)
DEC = chgwdeccfs(DEC,'cd',COEFS,LEV)
DEC = chgwdeccfs(DEC,'all',CA,CD)
DEC
= chgwdeccfs(DEC,'all',V)
DEC = chgwdeccfs(...,IDXSIG)
Description
DEC = chgwdeccfs(DEC,'ca',COEFS)
replaces the approximation coefficients at level DEC.level with
those contained in the matrix COEFS. If COEFS is
a single value V, all coefficients are
replaced by V.
DEC = chgwdeccfs(DEC,'cd',COEFS,LEV) replaces
the detail coefficients at level LEV with those
contained in the matrix COEFS. If COEFS is
a single value V, then LEV can
be a vector of levels and all the coefficients that belong to these
levels are replaced by V. LEV must
be such that 1 ≤ LEV ≤ DEC.level
DEC = chgwdeccfs(DEC,'all',CA,CD) replaces
all the approximation and detail coefficients. CA must
be a matrix and CD must be a cell array
of length DEC.level.
If COEFS (or CA or CD)
is a single number, then it replaces all the related coefficients.
Otherwise, COEFS (or CA,
or CD) must be a matrix of appropriate
size.
For a real value V, DEC
= chgwdeccfs(DEC,'all',V) replaces all the coefficients
by V.
DEC = chgwdeccfs(...,IDXSIG) replaces the
coefficients for the signals whose indices are given by the vector IDXSIG.
If the initial data are stored row-wise or column-wise in a matrix X,
then IDXSIG contains the row or column indices,
respectively, of the data.
Examples
References
[1] Mesa, Hector. “Adapted Wavelets for Pattern Detection.” In Progress in Pattern Recognition, Image Analysis and Applications, edited by Alberto Sanfeliu and Manuel Lazo Cortés, 3773:933–44. Berlin, Heidelberg: Springer Berlin Heidelberg, 2005. https://doi.org/10.1007/11578079_96.
Version History
Introduced in R2007a
