3.0

3.0 | 1 rating Rate this file 8 Downloads (last 30 days) File Size: 1.8 KB File ID: #40163

Merge sort algorithm

by

 

This function executes what I think is the merge sort algorithm invented by John von Neumann in 1945

| Watch this File

File Information
Description

The function should be used like this:
sorted = fusioned( somevector )

Also contains a script that runs the algorithm N times and compares it with the function SORT from Matlab. It expresses how many times it was successful and how long it took.

As far as I know, the function is completely functional.
Tell me if you noticed otherwise. Send the vector that can produce an error.

@ ACx // February 2013

Required Products MATLAB
MATLAB release MATLAB 7.14 (R2012a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
20 May 2013 Cem Talas  

Contact us