This is where navigation should be.


GSP_PATH - Initialize a path graph

Usage

G = gsp_path(N);
G = gsp_path();

Input parameters

N Number of vertices (default 32).

Output parameters

G Graph structure.

Description

'gsp_path(N)' initializes a graph structure of a path graph.

The path graph correspond the graph used for the DCT. See references for more informations.

Example:

G = gsp_path(16);
param.show_edges = 1;
gsp_plot_graph(G,param);
gsp_path_1_1.png

References:

G. Strang. The discrete cosine transform. SIAM review, 41(1):135--147, 1999.