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 Comments

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

Sign in to comment.

Categories

Find more on Programming in Help Center and File Exchange

Products

Asked:

Jan
on 26 Sep 2016

Answered:

on 26 Sep 2016

Community Treasure Hunt

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

Start Hunting!