Merge sorted arrays
バージョン 1.3.0.0 (8.37 KB) 作成者:
Bruno Luong
Given two already sorted arrays, the function combines them in an unique sorted array
Using this function avoids to call Matlab SORT(), which does unnecessary work since the two inputs is already sorted.
Mex implementation for speed.
'rows' option supported
引用
Bruno Luong (2024). Merge sorted arrays (https://www.mathworks.com/matlabcentral/fileexchange/28930-merge-sorted-arrays), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
作成:
R2010b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
Help Center および MATLAB Answers で Matrices and Arrays についてさらに検索
タグ
謝辞
ヒントを与えたファイル: ChooseK
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!