Kruskal's algorithm

This function implements Kruskal's algorithm that finds a minimum spanning tree for a weighted graph

You are now following this Submission

This function implements Kruskal's algorithm that finds a minimum spanning tree for a connected weighted graph.
It handles both directed and undirected graphs.
Lastly, we assume that the graph is labeled consecutively. That is, if there are N nodes, nodes will be labeled from 1 to N.

Cite As

Georgios Papachristoudis (2026). Kruskal's algorithm (https://www.mathworks.com/matlabcentral/fileexchange/41963-kruskal-s-algorithm), 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.3.0.0

Just updated the image pic.

1.2.0.0

I just updated the image

1.1.0.0

Just updated the description of the file.

1.0.0.0