filters = gsp_design_half_cosine( Nf, UBT );
This function generates a uniform half cosine filterbank. The main window
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);
param is an optional structure containing the following fields