Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 800 Bytes

2021-08-04-sparse-adjacency-matrix.md

File metadata and controls

45 lines (31 loc) · 800 Bytes
descriptionnamedisplay_asorderpermalinkthumnail_githublayoutlanguagepage_type
How to make Sparse Adjacency Matrixes in MATLAB<sup>&reg;</sup> with Plotly.
Sparse Adjacency Matrix
scientific
22
matlab/sparse-adjacency-matrix/
sparse-adjacency-matrix.png
base
matlab
u-guide

Plot Sparsity Pattern

Plot the 60-by-60 sparse adjacency matrix of the connectivity graph of the Buckminster Fuller geodesic dome. This matrix also represents the carbon-60 molecule and a soccer ball.

B = bucky; spy(B) fig2plotly(gcf); 

Specify Color and Marker

B = bucky; spy(B,'green') fig2plotly(gcf); 

Specify Marker Size

B = bucky; spy(B,'red',2) fig2plotly(gcf); 
close