create index to graph and find isomorphism

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

 Accepted Answer

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.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!