Wavelet Toolbox™ Previous page   Next Page 
chgwdeccfs
 Provide feedback about this page

Change multisignal 1-D decomposition coefficients

Syntax

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  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

See Also
mdwtdec, mdwtrec


 Provide feedback about this page 

Previous page cgauwavf cmorwavf Next page

 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS