A Random Geometric Graph is an undirected spatial graph (or network) whose nodes are randomly placed in a 2D square [0,1]. If the Euclidean distance between two nodes is equal to or less than a certain radius, they connect by an edge.
The instructional application, created with GUIDE, can be used to learn how a Random Geometric Graph is constructed and give some insight about its appearance.
- The Number of Nodes can be changed (10, 30, 50, 100, 200)
- The radius can be varied (0.1, 0.2, 0.3, 0.5)
- A circumference centred in each node can be plotted.
- The Adjancey matrix, coordinates of nodes and radius of the created Random Geometric Graph can be solved
- A color bar indicates nodes connectivity.
Additionally, plotRGG.m function can be used separately for plotting your own Random Geometric Graphs.
This is my first venture into GUIs so if there are any bugs, please let me know.
Author: Violeta Calleja Solanas
Violeta Call So (2019). Random Geometric Graph Visualization App (https://www.mathworks.com/matlabcentral/fileexchange/68431-random-geometric-graph-visualization-app), MATLAB Central File Exchange. Retrieved .
@Johann Thanks! The Save Graph Button creates a file called 'RGG.mat' in YOUR FOLDER ( not in your workspace) containing the adjacency matrix AA, coordinates and radius of the graph.
Nice, thanks, but... how can I save the adjacency matrix? The Save Graph button does do nothing and nothing is rewritten in RGG.mat
Thanks in advance