Code covered by the BSD License  

Highlights from
Merge sorted arrays

Merge sorted arrays

by

 

03 Oct 2010 (Updated )

Given two already sorted arrays, the function combines them in an unique sorted array

mergesa_install
function mergesa_install
% function mergesa_install
% installation of the package merge-sorted-arrays (mergesa)

if strfind(computer(), '64')
    mex -v -O -largeArrayDims mergerowsmex.c
    mex -v -O -largeArrayDims mergemex.c
else
    mex -v -O mergerowsmex.c
    mex -v -O mergemex.c
end

Contact us