image thumbnail

updated 20 days ago

Colon operation for numerical string(s)/Print page selection by Yung-Yeh

Yung-Yeh (view profile)

Parse numerical strings/string with delimiter to a concatenated numerical vector (string manipulation, colon, sort)

numstr2range(str,varargin)

image thumbnail

updated 2 months 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 2 months 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 2 months 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 3 months ago

Sort figure handles by Andreas Berg

Sort figure handles with respect to their property 'Number'. (sort, figure handle, graphics object)

sortfighandlearray(hFigs,varargin)

image thumbnail

updated 5 months ago

minFractof by Fred Massin

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

minFractof(v,percentage,AscendorDescend)

image thumbnail

updated 5 months ago

qsort by Malcolm McLean

Malcolm McLean (view profile)

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

qsort( vector, compfunc )

image thumbnail

updated 9 months ago

sortwith by Chad Greene

Chad Greene (view profile)

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

sortwith

sortwith(varargin)

image thumbnail

updated 1 year ago

Case insensitive sort function by Germán

Germán (view profile)

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

sorti(A, varargin)

image thumbnail

updated 1 year ago

Siemens DICOM sort and convert to NIfTI by Simon Robinson

Simon Robinson (view profile)

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

Bruno Luong (view profile)

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 2 years ago

pushNaNs by Daniel

Daniel (view profile)

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

pushnans( X,truncate )

image thumbnail

updated 2 years ago

Merge sort algorithm by ACLNM

ACLNM (view profile)

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 2 years ago

Show figures by Colin

Colin (view profile)

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)

Jos (10584) (view profile)

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

nearestpoint(x,y,m)

image thumbnail

updated almost 3 years ago

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

Jos (10584) (view profile)

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

kthvalue(L,K)

image thumbnail

updated 3 years ago

Tiedrank_(X,dim) by Daniel

Daniel (view profile)

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

tiedrank_( X,dim )

image thumbnail

updated almost 4 years ago

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

Gang Wang (view profile)

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

sort_one_cd(realtopdir,dest_folder_str)

image thumbnail

updated almost 4 years ago

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

T. R. (view profile)

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 4 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 4 years ago

Isocontour by Dirk-Jan Kroon

Dirk-Jan Kroon (view profile)

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 4 years ago

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

Jos (10584) (view profile)

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

movenan (X, direction)

image thumbnail

updated 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

Alberto (view profile)

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

rootshuffle(A)

image thumbnail

updated 4 years ago

Eigenshuffle2 by Alberto

Alberto (view profile)

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

Michael Chan (view profile)

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

Michael Chan (view profile)

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

Michael Chan (view profile)

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

Michael Chan (view profile)

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 almost 5 years ago

sort financial data by date by KIMBOL

KIMBOL (view profile)

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 almost 5 years ago

Sort Matrix Elements with Positions by Kadir

Kadir (view profile)

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 almost 6 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 6 years ago

UNIQUEWITHEQUALNANS by Jos (10584)

Jos (10584) (view profile)

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

Aman Siddiqi (view profile)

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)

Jos (10584) (view profile)

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)

Jos (10584) (view profile)

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)

Jos (10584) (view profile)

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

Ian Howat (view profile)

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

sortfields(varargin)

image thumbnail

updated almost 7 years ago

SHAKE by Jos (10584)

Jos (10584) (view profile)

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

shake(X,dim)

image thumbnail

updated 7 years ago

SORTLIND (v2.1) by Jos (10584)

Jos (10584) (view profile)

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

sortlind(varargin)

image thumbnail

updated 7 years ago

Sort Eigenvectors & Eigenvalues by Calvin Price

Calvin Price (view profile)

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

image thumbnail

updated 7 years ago

List Factors by Jeff Miller

Jeff Miller (view profile)

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

[allfactors]=listfactors(x)

image thumbnail

updated 7 years ago

simsort by Giampiero Campa

Giampiero Campa (view profile)

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

simsort

image thumbnail

updated 8 years ago

asort: a pedestrian alphanumeric string sorter by us

us (view profile)

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

asdemo

varargout=asort(inp,varargin)

image thumbnail

updated 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);

Contact us