Wavelet Toolbox | ![]() ![]() |
One-Dimensional Extension Using the Graphical Interface
Starting the Signal Extension Tool..
noisbloc.mat
, which should reside in the MATLAB directory toolbox/wavelet/wavedemo
. Click the OK button. The noisy blocks data is loaded into the Signal Extension tool.
1300
in the Desired Length box of the extended signal, and select the Left option from the Direction to extend menu. Then accept the default Symmetric for the Extension mode, and click the Extend button.
The tool displays the original signal delimited by a red box and the transformed signal delimited by a yellow box. The signal has been extended by left symmetric boundary values replication.
The signal is extended in both directions by replicating the first value to the left and the last value to the right, respectively.
Since the decomposition at level k
of a signal using SWT requires that 2^k
divides evenly into the length of the signal, the tool provides a special option dedicated to this kind of extension.
Since the signal is of length 1024 = 2^10
, no extension is needed so the
Extend button is ineffective.
Since the signal is of length 1000 and the decomposition level needed for SWT is 10, the tool performs a minimal right periodic extension. The extended signal is of length 1024.
The same tool allows you to truncate a signal.
900
for the desired length and press Enter. Click the Truncate button
The tool displays the original signal delimited by a red box and the truncated signal delimited by a yellow box. The signal has been truncated by deleting 100 values on the right side.
![]() | One-Dimensional Extension | Importing and Exporting Information from the Graphical Interface | ![]() |