WhattsStrogatz algorithm from this site gives an error on graph command

Here, the WhattsStrogatz algorithm from this site gives an error on graph command. What goes wrong?

3 commentaires

Is there a good reason why you cannot tell us what error you got? Show the COMPLETE error message.
Undefined function or variable 'graph'.
Error in WattsStrogatz (line 26) h = graph(s,t);
I think I know the reason for this error, I do not have r2016b, I have 2015a only
That seems a good conclusion.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Programming dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by