: G = gsp_sphere(); G = gsp_sphere( param );
param | Structure of optional parameters |
G | Resulting graph |
'gsp_sphere( param )' creates a graph from points sampled on a hyper-sphere. The dimension of the sphere can be passed as a parameter. It can be sampled in a uniform voxel grid or randomly.
Example:
G = gsp_sphere(); gsp_plot_graph(G); axis square