Clear Filters
Clear Filters

WhattsStrogatz algorithm from this site gives an error on graph command

1 view (last 30 days)
Here, the WhattsStrogatz algorithm from this site gives an error on graph command. What goes wrong?
  3 Comments
Jan
Jan on 26 Sep 2016
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.

Answers (1)

Walter Roberson
Walter Roberson on 26 Sep 2016
graph was added in R2015b.

Categories

Find more on Networks in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!