image thumbnail

updated 1 year ago

Merge sorted arrays by Bruno Luong

Given two already sorted arrays, the function combines them in an unique sorted array (sort, sortrows, sorted)



mergesa(A, B, rowsflag)

image thumbnail

updated almost 4 years ago

quickfind by Peter O'Connor

Quickly finds an element in a sorted list. If not found, returns -index of next smaller element. (find, search, sorted)

[loc found]=quickfind(el,list)

image thumbnail

updated 5 years ago

Merge two sorted vectors into a sorted vector by Dr. Murtaza Khan

Merge two sorted vectors 'a' and 'b' into a sorted vector 'c' (merge, sorted, vectors)



image thumbnail

updated 5 years ago

index.m - create a list of the indices and values of an array by Georg Stillfried

Create a list where each value (content) of an array is displayed together with its index. (matrices, index, indexes)

index (M,varargin)

Contact us