This is where navigation should be.


GSP_DESIGN_HALF_COSINE - Design uniform half cosine filterbank

Usage

filters = gsp_design_half_cosine( Nf, UBT );

Description

Inputs parameters:
G : Graph or maximum value Nf : Number of filters
Outputs parameters:
filters : Cell array of filters

This function generates a uniform half cosine filterbank. The main window

\begin{equation*} \frac{1}{2} \left(1 + \cos\left(2\pi\left(\frac{x}{a}-\frac{1}{2}\right)\right)\right) \text{for } 0 \leq x \leq a \end{equation*}

is translated uniformaly to create the filterbank.

This function will compute the maximum eigenvalue of the laplacian. To be more efficient, you can precompute it using:

G = gsp_estimate_lmax(G);

Example:

Nf = 8;
G = gsp_sensor(100);
G = gsp_estimate_lmax(G);
g = gsp_design_half_cosine(G, Nf);
gsp_plot_filter(G,g);
gsp_design_half_cosine_1_1.png

param is an optional structure containing the following fields

  • param.verbose: verbosity level. 0 no log - 1 display warnings. (default 1)