Wavelet Toolbox Previous page   Next Page

Importing and Exporting Information from the Graphical Interface

Saving Function

This tool lets you save the estimated function to disk. The toolbox creates a MAT-file in the current directory with a name you choose.

To save the estimated function from the present estimation, use the menu option FileSave Estimated Function. A dialog box appears that lets you specify a directory and filename for storing the function. Type the name fex1nsto. After saving the function data to the file fex1nsto.mat, load the variables into your workspace:

The estimated function is given by xdata and ydata. The length of these vectors is equal to the number of bins you choose in step 2. In addition, the parameters of the estimation process are given by the wavelet name contained in wname:

and the level dependent thresholds contained in thrParams, which is a cell array of length 5 (the level of the decomposition). For i from 1 to 5, thrParams{i} contains the lower and upper bounds of the interval of thresholding and the threshold value (since interval dependent thresholds are allowed). For more information, see One-Dimensional Variance Adaptive Thresholding of Wavelet Coefficients.

For example, for level 1,

Loading Data

To load data for regression estimation, your file must contain at least one vector. If your file contains only one vector, this vector is considered as ydata and an xdata vector is automatically generated.

If your file contains at least two vectors, they must be called xdata and ydata or x and y.

These vectors must be the same length.

For example, load the file containing the data considered in the previous example:

At the end of this section, turn back the extension mode to zero padding using the command


Previous page  One-Dimensional Estimation Using the GUI for Randomly Spaced Observations (Stochastic Design) One-Dimensional Wavelet Density Estimation Next page

© 1994-2005 The MathWorks, Inc.