Count all cycles in simple undirected graph

Counts all cycles in a simple undirected graph up to specified size limit, using backtracking.

Download
Download

You are now following this Submission

Cite As

Jeff Howbert (2026). Count all cycles in simple undirected graph (https://ch.mathworks.com/matlabcentral/fileexchange/29438-count-all-cycles-in-simple-undirected-graph), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0

Wrong .zip file uploaded on previous submission.

Download
1.1.0

Function cycleCountBacktrack now returns a vector containing counts of cycles, and elapsed time. (In previous version, counts and time were only output to console.)

Download
1.0.0

Download