This is where navigation should be.


GSP_SPIRAL - Initialize a spriral graph

Usage

G = gsp_spiral();
G = gsp_spiral(N);
G = gsp_spiral(N,k);
G = gsp_spiral(N, k, param);

Input parameters

N Number of vertices. (default 200)
k Number of turns (3)
param Structure of optional parameters

Output parameters

G Graph structure.

Description

'gsp_spiral(N)' initializes a graph structure for the sprial graph.

The optional parameters are: * param.noise : Noise level (Default 5) * param.start : Starting angle in degree (Default 90) * param.k : Approximate number of connections per nodes (Default 4)

Example:

G = gsp_spiral(64);
param.show_edges = 1;
gsp_plot_graph(G,param);
gsp_spiral_1_1.png