Merge sort algorithm
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
Cite As
ACLNM (2023). Merge sort algorithm (https://www.mathworks.com/matlabcentral/fileexchange/40163-merge-sort-algorithm), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |