Scilab Wavelet Toolbox Function
Last update : June 2007
wkeep - signal extraction
Calling Sequence
-
Y=wkeep(x,[L],[type])
-
Y=wkeep(x,[L],[FIRST])
-
Y=wkeep(M,[S],[indexVector])
Parameters
-
x
: double vector
-
M
: double matrix
-
L
: length integer
-
type
: extraction manner, 'l' for left, 'r' for right, and 'c' for center
-
FIRST
: index integer from which extraction starts.
-
S
: size integer vector containing row size and column size wanted
-
indexVector
: row and column index integer vector from which extraction starts.
-
Y
: extraction result
Description
wkeep is an utility function for both vector and matrix extraction.
For vector extraction, extractions will be aligned to the right,
left or center based on optional argument type. So does matrix
extraction.
Examples
a=rand(1,100);
Y=dyadup(a);
b=rand(25,25);
Y=dyadup(b,'r',0;)
Author
Roger Liu and Isaac Zhi
See Also
wextend
,