G = gsp_path(N); G = gsp_path();
N | Number of vertices (default 32). |
G | Graph structure. |
'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);
G. Strang. The discrete cosine transform. SIAM review, 41(1):135--147, 1999.