image thumbnail

updated 1 day ago

DataHash by Jan Simon

Jan Simon (view profile)

MD5 or SHA hash for array, struct, cell or file (hash, file, array)

DataHash(Data, Opt)

image thumbnail

updated 1 month ago

CopyMask by Jan Simon

Jan Simon (view profile)

Fast linear indexing (linear, indexing, mask)

CopyMask(X, M, Dim)

InstallMex(SourceFile, varargin)

uTest_CopyMask(doSpeed)

image thumbnail

updated 3 months ago

ChunkMinMax by Jan Simon

Jan Simon (view profile)

Min and Max over chunks of a vector (min, max, vector)

ChunkMinMax(varargin)

InstallMex(SourceFile, varargin)

uTest_ChunkMinMax(doSpeed)

image thumbnail

updated 3 months ago

DateStr2Num by Jan Simon

Jan Simon (view profile)

Convert date string to date number - C-Mex: much faster than DATENUM (datevec, date, number)

DateStr2Num(S, F)

InstallMex(SourceFile, varargin)

uTest_DateStr2Num(doSpeed)

image thumbnail

updated 9 months ago

MessWords by Jan Simon

Jan Simon (view profile)

Shuffle characters of words (shuffle, mix, characters)

MessWords(Msg, KeepEdge)

image thumbnail

updated 10 months ago

XSum by Jan Simon

Jan Simon (view profile)

Fast Sum with error compensation (sum, error, compensated)

InstallMex(SourceFile, varargin)

XSum(varargin)

image thumbnail

updated 11 months ago

GetSelection by Jan Simon

Jan Simon (view profile)

Get selected strings from listbox or popupmenu (uicontrol, listbox, popupmenu)

GetSelection(UIHandle)

image thumbnail

updated 1 year ago

RunLength by Jan Simon

Jan Simon (view profile)

RunLength coding as fast MEX and M-code (runlength, coding, code)

InstallMex(SourceFile, varargin)

RunLength(varargin)

RunLength_M(in1, in2)

image thumbnail

updated 1 year ago

anyEq by Jan Simon

Jan Simon (view profile)

Fast check if 2 arrays have a common element (any, equal, isequal)

uTest_anyEq(doSpeed)

anyEq.m

image thumbnail

updated 2 years ago

Hatched Lines and Contours by Rob McDonald

Draw lines and contours with hatches on one side of the line. (optimization, plotting, constraint)

h=hatchedcontours(C,varargin)

h=hatchedline(xc,yc,linespec,theta,ar,spc,len,varargin)

ocontourc(x, y, z, NV, cgt)

image thumbnail

updated 2 years ago

GetFullPath by Jan Simon

Jan Simon (view profile)

Full path name for partial or relative path (full, name, path)

GetFullPath(File, Style)

InstallMex(SourceFile, varargin)

uTest_GetFullPath(doSpeed)

image thumbnail

updated 2 years ago

BSD/Linux Host Information and matlabpoolPlus by Boris Schauerte

Get information about the host on which the Matlab instance is running. Also provides matlabpoolPlus (unix, bsd, linux)

getJavaRuntimeInformation()

getNumProcessorsJava()

matlabpoolPlus(alpha,profname)

image thumbnail

updated 2 years ago

Limit figure size by Jan Simon

Jan Simon (view profile)

Set minimal or maximal size of a figure (figure, size, resize)

LimitSizeFig(FigH, Prop, Ext)

uTest_LimitSizeFig(doSpeed)

image thumbnail

updated 2 years ago

WinPower by Jan Simon

Jan Simon (view profile)

Shutdown, sleep, hibernate etc. of Windows computers (power, set, shutdown)

InstallMex(SourceFile, UnitTestFcn, Param)

WinPower(varargin)

image thumbnail

updated 2 years ago

FileResize by Jan Simon

Jan Simon (view profile)

Expand and truncate existing files - efficient C-Mex (file, resize, truncate)

uTest_FileResize(doSpeed)

FileResize.m

image thumbnail

updated 3 years ago

WindowAPI by Jan Simon

Jan Simon (view profile)

Set figure size, top-most, transparency and pixel mask, multi-monitor etc by Windows API (figure, alpha, blending)

WindowAPI(varargin)

demo_WindowAPI

uTest_WindowAPI(doSpeed)

image thumbnail

updated 3 years ago

CmdWinTool by Jan Simon

Jan Simon (view profile)

Programmatic control of the command window (command window, maximize, minimize)

CmdWinTool(Command, Data)

uTest_CmdWinTool(doSpeed)

image thumbnail

updated 3 years ago

anyExceed by Jan Simon

Jan Simon (view profile)

Fast test for out of range elements, C-mex (statistics, data exploration, cmex)

anyExceed(X, L, H, varargin)

uTest_anyExceed(doSpeed)

image thumbnail

updated 3 years ago

FilterM by Jan Simon

Jan Simon (view profile)

A faster FILTER and FILTFILT: Speedup factor 2.5 to 25 (signal processing, cmex, filter)

FiltFiltM(b, a, X, Dim)

FilterM(b, a, X, Z, Dim, Reverse)

uTest_FiltFiltM(doSpeed)

image thumbnail

updated almost 4 years ago

ButterParam by Jan Simon

Jan Simon (view profile)

Store persistent list of BUTTER parameters for faster access (butter, butterworth, signal processing)

ButterParam(N, Wn, Pass)

uTest_ButterParam(doSpeed)

image thumbnail

updated almost 4 years ago

FileTime by Jan Simon

Jan Simon (view profile)

Get and set the times for creation, access and modification of a file or folder (Windows only) (file, time, date)

GetFileTime(FileName, TimeType, OutputType)

SetFileTime(File)

uTest_FileTime(doSpeed)

image thumbnail

updated almost 4 years ago

LINECMENU by Matt Fig

Matt Fig (view profile)

Utility for creating a standard uicontextmenu for line objects. (uicontextmenu, uimenu, line)

defaultlinecreatefcn(varargin)

dualcolorplot(x,y,F,OPT)

linecmenu(varargin)

image thumbnail

updated almost 4 years ago

MinMaxElem by Jan Simon

Jan Simon (view profile)

Min and max element and index - C-Mex faster than MIN/MAX (min, max, cmex)

MinMaxElem(varargin)

uTest_MinMaxElem(doSpeed)

image thumbnail

updated 4 years ago

Shuffle by Jan Simon

Jan Simon (view profile)

Random permutation of array elements, C-Mex: much faster than RANDPERM (statistics, vector, mix)

Shuffle(Arg1, Arg2, Arg3)

uTest_Shuffle(doSpeed, doBias)

image thumbnail

updated 4 years ago

FileRealCase by Jan Simon

Jan Simon (view profile)

Get real upper/lower case of a file or folder name (file, path, folder)

FileRealCase(File)

image thumbnail

updated 4 years ago

RenameField by Jan Simon

Jan Simon (view profile)

Rename a fields of a struct - fast C-Mex (struct, field, rename)

RenameField(S, Old, New)

uTest_RenameField(doSpeed)

image thumbnail

updated 4 years ago

DGradient by Jan Simon

Jan Simon (view profile)

Gradient of arrays as fast C-Mex (derivative, gradient, array)

DGradient(X, Dim, Spacing, Method)

uTest_DGradient(doSpeed)

image thumbnail

updated 4 years ago

CStr2String by Jan Simon

Jan Simon (view profile)

Fast concatenation of cell strings to a string as C-Mex (cat, sprintf, cell string)

CStr2String(CStr, Sep, Trail)

uTest_CStr2String(doSpeed)

image thumbnail

updated 4 years ago

FileRename by Jan Simon

Jan Simon (view profile)

Fast renaming of files or folders (file, rename, move)

FileRename(Source, Dest, Mode)

uTest_FileRename(doSpeed)

image thumbnail

updated 4 years ago

BlockMean by Jan Simon

Jan Simon (view profile)

Mean of rectangular submatrices, fast C-Mex (no running mean) (mean, matrix, array)

BlockMean(X, V, W)

uTest_BlockMean(doSpeed)

image thumbnail

updated 4 years ago

DNorm2 by Jan Simon

Jan Simon (view profile)

Euclidian norm along a specified dim of an array - fast C-Mex (2norm, norm, distance)

DNorm2(X, n)

uTest_DNorm2(doSpeed)

image thumbnail

updated 4 years ago

isValidSymbol by Jan Simon

Jan Simon (view profile)

Check for valid variable, field or function name - fast C-Mex (valid, variable name, function name)

isValidSymbol(S)

uTest_isValidSymbol(doSpeed)

image thumbnail

updated 4 years ago

Cell2Vec by Jan Simon

Jan Simon (view profile)

Concatenate cell elements to a vector - fast C-Mex (cell, concatenate, cat)

Cell2Vec(C)

uTest_Cell2Vec(doSpeed)

image thumbnail

updated 4 years ago

C3D_VaxD2PC by Jan Simon

Jan Simon (view profile)

Convert C3D file from DEC (VAXD) to PC (IEEE-LE) format so that they can be read in Matlab >= 2008b. (c3d, vaxd, dec)

C3D_VaxD2PC(Mode, FileSpec)

image thumbnail

updated 4 years ago

fRMField by Jan Simon

Jan Simon (view profile)

Remove a field from a struct efficiently - fast C-Mex (field, struct, delete)

TestfRMField(doSpeed)

fRMField(S, ToDelete)

image thumbnail

updated 4 years ago

mat2im by Rob Campbell

Rob Campbell (view profile)

Convert 2D matrix to a 3D image matrix as used by the image processing toolbox (image processing, conversion, colormap)

im=mat2im(mat,cmap,limits)

image thumbnail

updated 4 years ago

DateConvert by Jan Simon

Jan Simon (view profile)

Simple but fast date conversion: 1.3% of DATESTR time, 20% of DATEVEC/ DATENUM time (date, conversion, datenum)

DateConvert(DIn, OutFormat)

TestDateConvert(doSpeed)

image thumbnail

updated almost 5 years ago

UniqueFuncNames by Jan Simon

Jan Simon (view profile)

Check uniqueness of function names (function, name, check)

UniqueFuncNames()

image thumbnail

updated almost 5 years ago

fSGolayFilt by Jan Simon

Jan Simon (view profile)

Fast Savitzky Golay filter as multi-threaded C-Mex (filter design, filter analysis, smoothing)

TestfSGolayFilt(doSpeed)

fSGolayFilt(X, K, F, W, Dim)

image thumbnail

updated almost 5 years ago

isMatlabVer by Jan Simon

Jan Simon (view profile)

Compare Matlab version number using < <= > >= ==, considers v7.10, fast Mex (version, verlessthan, compare)

TestisMatlabVer(doSpeed)

isMatlabVer(varargin)

image thumbnail

updated 5 years ago

strncmpr by Jan Simon

Jan Simon (view profile)

Compare last N chars of strings or cell strings (fast C-Mex) (string, compare, strcmp)

Teststrncmpr(doSpeed)

strncmpir(S1, S2, N)

strncmpr(S1, S2, N)

image thumbnail

updated 5 years ago

CStrCatStr by Jan Simon

Jan Simon (view profile)

Cat 2 or 3 strings/cell strings C-MEX: 10 times faster than STRCAT (strcat, concatenation, string)

CStrCatStr(A, B, C)

TestCStrCatStr(doSpeed)

image thumbnail

updated 5 years ago

VChooseKO by Jan Simon

Jan Simon (view profile)

Choose K elements from a vector without repetitions and with order [MEX] (choose, combinations, nchoosek)

TestVChooseKO(doSpeed)

VChooseKO.m

image thumbnail

updated 5 years ago

VChooseKR by Jan Simon

Jan Simon (view profile)

Choose K elements from a vector with repetitions and without order [MEX] (choose, combinations, nchoosek)

TestVChooseKR(doSpeed)

VChooseKR.m

image thumbnail

updated 5 years ago

VChooseKRO by Jan Simon

Jan Simon (view profile)

Choose K elements from a vector with repetitions and order [MEX] (choose, combinations, nchoosek)

TestVChooseKRO(doSpeed)

VChooseKRO.m

image thumbnail

updated 5 years ago

VChooseK by Jan Simon

Jan Simon (view profile)

Choose K elements from a vector - MEX: 100 times faster than NCHOOSEK (nchoosek, choose, pick)

TestVChooseK(doSpeed)

VChooseK(X, K)

image thumbnail

updated 5 years ago

CalcMD5 by Jan Simon

Jan Simon (view profile)

Another MD5 calculator as fast C-Mex (md5, checksum, cmex)

CalcMD5(Data, InClass, OutClass)

TestCalcMD5(doSpeed)

image thumbnail

updated 5 years ago

uiFlash by Jan Simon

Jan Simon (view profile)

Direct attention to UI object by short flashing (gui, flash, blink)

uiFlash(ObjH, Property, Value)

image thumbnail

updated 5 years ago

ScaleTime by Jan Simon

Jan Simon (view profile)

Fast linear interpolation of equally spaced data (C-MEX and M) (interpolation, linear, lookup)

ScaleTime(Y, Ti, Tf, Tn)

TestScaleTime(doSpeed)

image thumbnail

updated 5 years ago

CStrAinBP by Jan Simon

Jan Simon (view profile)

Overlapping elements of 2 cell strings. 10-20 times faster than INTERSECT/ISMEMBER/SETDIFF. (string, cell string, comparison)

CStrAinBP(A, B, CaseSensitive)

TestCStrAinBP(doSpeed)

Contact us