create index to graph and find isomorphism

Hello
I need to create index to graph like (G1,G2, G3, ....) and find isomorphism between them.

 Réponse acceptée

Steven Lord
Steven Lord le 30 Juin 2022

0 votes

Can you dynamically create variables with numbered names like G1, G2, G3, etc.? Yes.
Should you do this? The general consensus is no. That Answers post explains why this is generally discouraged and offers several alternative approaches.
Instead make a cell array containing the graph objects then call the isomorphism function on pairs of elements from the cell array.

Plus de réponses (0)

Catégories

En savoir plus sur Discrete Data Plots dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by