Math 314 MATLAB projects

You will have to write about one page of code. After testing it, email your program (not output, just the program) to me in text-only format. Due date is Tuesday 3/23 (after Spring Break).

Kruskal's algorithm

Implement Kruskal's algorithm as outlined in the textbook and in the course.

Conditions, Restrictions

If you type 'kruskal' or 'MATLAB kruskal' into Google, you get a number of implementations. Therefore we have to adopt some clear policies. Now it is still possible to download and modify a program from the internet, but the ones I have seen are much more complicated. Most have also a very different input format. So I think it is easier to actually write the program yourself. However, I will accept anything that meets the specifications on input format and performs the correct algorithm, ie I will test it on a few more examples.

Before asking me, look up the MATLAB help pages! And revise the description of Kruskal's algorithm and the examples that we did in class.