This is where navigation should be.


GSP_TORUS - Initialize a 2 dimentional grid graph

Usage

G=gsp_path(N);

Input parameters

N Number of vertices along the first dimention (default 16)
M Number of vertices along the second dimention (default N)

Output parameters

G Graph structure.

Description

The 2dring graph correspond the graph used for the DFT2.

Example:

G = gsp_torus(16,20);
param.show_edges = 1;
gsp_plot_graph(G,param);
gsp_torus_1_1.png

References:

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