image thumbnail

updated 6 days ago

Customizable Natural-Order Sort by Stephen Cobeldick

Natural-order sort of a cell array of strings, with customizable numeric format. (pick of the week, potw, natural order)

natsort(X,xpr,varargin)

image thumbnail

updated 6 days ago

Natural-Order Filename Sort by Stephen Cobeldick

Natural-order sort of filenames or filepaths, with customizable numeric format. (pick of the week, potw, sort)

natsortfiles(X,varargin)

image thumbnail

updated 6 days ago

Natural-Order Row Sort by Stephen Cobeldick

Natural-order row sort of a cell array of strings, with customizable numeric format. (pick of the week, potw, sort)

natsortrows(X,col,xpr,varargin)

image thumbnail

updated 16 days ago

minFractof by Fred Massin

MINFRACTOF Extract value at the Nth percentile. (sort, sum, isnan)

minFractof(v,percentage,AscendorDescend)

image thumbnail

updated 27 days ago

qsort by Malcolm McLean

C-style qsort routine that takes comparison function. (comparision function, qsort, sort)

qsort( vector, compfunc )

image thumbnail

updated 4 months ago

sortwith by Chad Greene

Sort elements of several matrices corresponding to the sorting order of one matrix. (sort, sortrows)

sortwith

sortwith(varargin)

image thumbnail

updated 9 months ago

Case insensitive sort function by Germán

Case insensitive sorting of a cell array of strings. (sort, text, sorting)

sorti(A, varargin)

image thumbnail

updated 11 months ago

Siemens DICOM sort and convert to NIfTI by Simon Robinson

Converts Siemens MRI DICOM data into NIfTI format, and/or anonymises and sorts into scan directories (dicom, nifti, mri)

centre_header(nii_hdr)

convert_2dto3d_func2(obj, eventdata, interleave_sort, rea...

convert_to_analyze_func(data)

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)

mergemex(varargin)

mergerowsmex(varargin)

mergesa(A, B, rowsflag)

image thumbnail

updated 1 year ago

pushNaNs by Daniel

Pushes NaNs to the bottom of each column of X. (nan, order, sort)

pushnans( X,truncate )

image thumbnail

updated almost 2 years ago

Merge sort algorithm by ACLNM

This function executes what I think is the merge sort algorithm invented by John von Neumann in 1945 (sort, merge sort, mergesort)

fusioned( vec )

fusionedtest.m

image thumbnail

updated almost 2 years ago

Show figures by Colin

A quick, lightweight function that makes viewing specific figures faster and easier. (show, plot, figure)

show(varargin)

image thumbnail

updated 2 years ago

NEARESTPOINT (sep 2012) by Jos (10584)

NEARESTPOINT - find the nearest value in another vector (statistics, probability, distance)

nearestpoint(x,y,m)

image thumbnail

updated 2 years ago

KTHVALUE (v2.1, jun 2012) by Jos (10584)

select the k-th smallest element in a (randomized) list (matrix, sort, select)

kthvalue(L,K)

image thumbnail

updated almost 3 years ago

Tiedrank_(X,dim) by Daniel

Like MATLAB's tiedrank function, but works along dimension dim of ND-array. (rank, correlation, tied)

tiedrank_( X,dim )

image thumbnail

updated 3 years ago

Sort DICOM CD images by subject and scan names by Gang Wang

Sort DICOM CD images by subject and scan names. (dicom, cd, sort)

sort_one_cd(realtopdir,dest_folder_str)

image thumbnail

updated 3 years ago

Cell/Struct Tree, and Struct Sorting by T. R.

Generates trees for cell arrays, structs and data, from a cell or a struct. (tree, cell, struct)

celltree( A, N, O )

sortstruct( X, FN, DIM, MODE )

structtree( S, N, O )

image thumbnail

updated 3 years ago

Unsorted Set Operations by Don Vaughn

Unsorted versions of setdiff, intersect, union, and setdiff (unsorted, sets, set operations)

d_uIntersect(A,B)

d_uIntersect(A,B)

d_uSetdiff(a,b)

image thumbnail

updated almost 4 years ago

Isocontour by Dirk-Jan Kroon

Find ISO-contour geometry in a 2D image using marching-squares, and sort the contour objects (isocontour, iso, contour)

[Lines,Vertices,Objects]=isocontour(I,isovalue)

image thumbnail

updated almost 4 years ago

MOVENAN (v1.0, mar 2011) by Jos (10584)

Move NaNs to the beginning or end of a column (matrix, manipulation, sort)

movenan (X, direction)

image thumbnail

updated almost 4 years ago

sort_nat: Natural Order Sort by Douglas Schwarz

Sort strings in natural order. (strings, sort, natural order)

sort_nat(c,mode)

image thumbnail

updated 4 years ago

Rootshuffle.m by Alberto

Function that orders the roots/eigenvalues (root locus, eigenvalues, roots)

rootshuffle(A)

image thumbnail

updated 4 years ago

Eigenshuffle2 by Alberto

Function that orders the eigenvalues and eigenvectors (eig, eigenvalues, eigenvectors)

eigenshuffle(A)

image thumbnail

updated 4 years ago

Compute Position Weight Matrix (PWM) and display SequenceLogo in terms of frequency by Michael Chan

Illustrates computation of best match scoring with PWM and constructs sequence logo. (bioinformatics, position weight matri..., match)

PWM( alignmentSetMatrix )

change1colorOnRGBToAnother(rgbImage, FromColor, ToColor)

computeProbabilityOfSubsequence(sequenceToBeChecked, prob...

image thumbnail

updated 4 years ago

external merge sort by Gaurav Choudhary

simulates external merge sort. (external merge sort, sorting, efficient sorting for...)

[out]=algo(in)

extmerge(fno,bufs,pass)

lin.m

image thumbnail

updated 4 years ago

Burrows-Wheeler Matrix (BWM) Transform by Michael Chan

Illustrates the Burrows-Wheeler Matrix (BWM) Transform. (bioinformatics, string, sort)

BWT (shortGeneStr)

cell2str(c,n,mode)

cell2string( cellString )

image thumbnail

updated 4 years ago

File Ordering Patch Utility for MATLAB by Michael Chan

The utility patches the reordering considering the length of the filename during the sorting. (string, utility, directory)

cell2str(c,n,mode)

displayImagesInDirectory(targetFolder, imageFiles, imageF...

listFilesInDirectory( targetFolder, imageFileType )

image thumbnail

updated 4 years ago

Suffix Array by Michael Chan

The objective is to illustrate suffix array computation. This does not include the search operation. (bioinformatics, string, sort)

determineSuffixArray( stringTarget )

usage_determineSuffixArray.m

image thumbnail

updated 4 years ago

Nested sort of structure arrays by Jake Hughey

Perform a nested sort of a struct array based on multiple fields. (nested, sort, struct)

nestedSortStruct(aStruct, fieldNamesCell, directions)

nestedSortStruct2(aStruct, fieldNamesCell, directions, cl...

sortStruct(aStruct, fieldName, direction)

image thumbnail

updated 4 years ago

Sort back data to original order by Ivar Eskerud Smith

Sort back sorted data to initial state (sort, back, reverse)

sort_back( data, ind, dim )

image thumbnail

updated 4 years ago

sort financial data by date by KIMBOL

sort two financial data array ( date, value ) map into ascending order and find common date pair. (sort, pair, by date)

sortd(data1, data2)

image thumbnail

updated 4 years ago

Sort Matrix Elements with Positions by Kadir

A function to sort values of the matrix elements, providing their positions in original matrix. (sort, matrix, positions)

sortMatrixElements(A,varargin)

image thumbnail

updated 5 years ago

Sort data, plot means, std errors by Don MacLeod

Given a matrix with y, x and z columns, plot graphs of y vs x for each z, with error bars. (statistics, probability, mean)

meansemfun(datasource, xcolindex, ycolindex, paramcolindex)

image thumbnail

updated 5 years ago

NUMUNIQUE by Zhigang Xu

Returns unique elements in an array and all the indices for the repetitious values. (mathematics, set, unique)

[x, p, f]=numunique(x)

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)

image thumbnail

updated 5 years ago

UNIQUEWITHEQUALNANS by Jos (10584)

Set unique, treating NaNs as equal (v2.0, mar 2009) (matrices, unique, sort)

uniquewithequalnans(A,varargin)

image thumbnail

updated 6 years ago

wordcomp.m by Aman Siddiqi

Alphabatizes words & returns lowest(first in list) (strings, sort, word order)

image thumbnail

updated 6 years ago

RANDPERMBREAK (v1.1, nov 2008) by Jos (10584)

randomize the order of elements within sections of a vector (rand, sections, matrix manipulation)

randpermbreak(N,BP, bpfixed)

image thumbnail

updated 6 years ago

SORTBREAK (v1.0, nov 2008) by Jos (10584)

sort elements of a vector between break points (sort, sections, vector)

sortbreak(X,BP, bpfixed) ;

image thumbnail

updated 6 years ago

SORTSET (v2.0) by Jos (10584)

Sort a set according to a user-defined order (matrices, sort, set)

sortset(S, ORDER, DIM)

image thumbnail

updated 6 years ago

SORTFIELDS by Ian Howat

SORTFIELDS sort values in all fields within a structure. (structures, cell arrays, field)

sortfields(varargin)

image thumbnail

updated 6 years ago

SHAKE by Jos (10584)

Randomize a matrix along one dimension (ver 4 .1 may 2008) (matrices, rand, randomize)

shake(X,dim)

image thumbnail

updated 6 years ago

SORTLIND (v2.1) by Jos (10584)

sorts input and returns linear indices for parallel sorting (matrices, matrix, sort)

sortlind(varargin)

image thumbnail

updated almost 7 years ago

Sort Eigenvectors & Eigenvalues by Calvin Price

Sort a set of eigenvectors and corresponding eigenvalues (linear algebra, sort, eigenvectors)

image thumbnail

updated almost 7 years ago

List Factors by Jeff Miller

List all integer factors of a number (factors, factorization, integer)

[allfactors]=listfactors(x)

image thumbnail

updated 7 years ago

simsort by Giampiero Campa

Sorts vectors using quicksort. (simulink, sort, qsort)

simsort

image thumbnail

updated 8 years ago

asort: a pedestrian alphanumeric string sorter by us

numerically sorts an array or cell array of strings. (sort, alphanumeric, numerical)

asdemo

varargout=asort(inp,varargin)

image thumbnail

updated almost 9 years ago

CSORT by Peter (PB) Bodin

Sorts complex arrays. Six different methods are available. (matrices, complex sort, sort)

csort(X,method,dim,mode);

image thumbnail

updated almost 10 years ago

Generalized Sorting by Nathan Thern

Sort any kind of data based on user-defined criteria. (sort, sorting, quicksort)

quicksort(input, inl_fcn)

image thumbnail

updated 11 years ago

detect_boundary.zip by Alister Fong

Detects, sorts and classifies the boundries of multiple objects in a binary image. (image analysis, boundary, sort)

detect_boundary(input_image_small,direction)

display_boundary

larger_to_smaller_image(large_image,pixel_border)

Contact us