Merge sorted arrays
Versión 1.3.0.0 (8,37 KB) por
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
Citar como
Bruno Luong (2024). Merge sorted arrays (https://www.mathworks.com/matlabcentral/fileexchange/28930-merge-sorted-arrays), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2010b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Matrices and Arrays en Help Center y MATLAB Answers.
Etiquetas
Agradecimientos
Inspiración para: ChooseK
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.