Merge sort algorithm

版本 1.0.0.0 (1.8 KB) 作者: ACLNM
This function executes what I think is the merge sort algorithm invented by John von Neumann in 1945
748.0 次下载
更新时间 2013/2/4

查看许可证

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

引用格式

ACLNM (2026). Merge sort algorithm (https://ww2.mathworks.cn/matlabcentral/fileexchange/40163-merge-sort-algorithm), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2012a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Shifting and Sorting Matrices 的更多信息
版本 已发布 发行说明
1.0.0.0