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 Kommentare

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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Programming finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

Jan
am 26 Sep. 2016

Beantwortet:

am 26 Sep. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by