image thumbnail

updated 14 days ago

MessWords by Jan Simon

Shuffle characters of words (shuffle, mix, characters)

MessWords(Msg, KeepEdge)

image thumbnail

updated 1 month ago

XSum by Jan Simon

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

InstallMex(SourceFile, varargin)

XSum(varargin)

image thumbnail

updated 2 months ago

GetSelection by Jan Simon

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

GetSelection(UIHandle)

image thumbnail

updated 10 months ago

RunLength by Jan Simon

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

InstallMex(SourceFile, varargin)

RunLength(varargin)

RunLength_M(in1, in2)

image thumbnail

updated 10 months ago

anyEq by Jan Simon

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

uTest_anyEq(doSpeed)

anyEq.m

image thumbnail

updated 12 months ago

DateStr2Num by Jan Simon

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

DateStr2Num(S, F)

uTest_DateStr2Num(doSpeed)

image thumbnail

updated 1 year ago

GetFullPath by Jan Simon

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

GetFullPath(File, Style)

InstallMex(SourceFile, varargin)

uTest_GetFullPath(doSpeed)

image thumbnail

updated almost 2 years ago

Limit figure size by Jan Simon

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

LimitSizeFig(FigH, Prop, Ext)

uTest_LimitSizeFig(doSpeed)

image thumbnail

updated almost 2 years ago

WinPower by Jan Simon

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

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

uTest_FileResize(doSpeed)

FileResize.m

image thumbnail

updated 2 years ago

DataHash by Jan Simon

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

DataHash(Data, Opt)

image thumbnail

updated 2 years ago

WindowAPI by Jan Simon

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

CmdWinTool by Jan Simon

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

CmdWinTool(Command, Data)

uTest_CmdWinTool(doSpeed)

image thumbnail

updated 2 years ago

anyExceed by Jan Simon

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

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

ButterParam by Jan Simon

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

ButterParam(N, Wn, Pass)

uTest_ButterParam(doSpeed)

image thumbnail

updated 3 years ago

FileTime by Jan Simon

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

MinMaxElem by Jan Simon

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

MinMaxElem(varargin)

uTest_MinMaxElem(doSpeed)

image thumbnail

updated 3 years ago

Shuffle by Jan Simon

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

FileRealCase by Jan Simon

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

FileRealCase(File)

image thumbnail

updated 3 years ago

RenameField by Jan Simon

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

RenameField(S, Old, New)

uTest_RenameField(doSpeed)

image thumbnail

updated 3 years ago

DGradient by Jan Simon

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

DGradient(X, Dim, Spacing, Method)

uTest_DGradient(doSpeed)

image thumbnail

updated 3 years ago

CStr2String by Jan Simon

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

FileRename by Jan Simon

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

FileRename(Source, Dest, Mode)

uTest_FileRename(doSpeed)

image thumbnail

updated 3 years ago

BlockMean by Jan Simon

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

BlockMean(X, V, W)

uTest_BlockMean(doSpeed)

image thumbnail

updated almost 4 years ago

DNorm2 by Jan Simon

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

DNorm2(X, n)

uTest_DNorm2(doSpeed)

image thumbnail

updated almost 4 years ago

isValidSymbol by Jan Simon

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

isValidSymbol(S)

uTest_isValidSymbol(doSpeed)

image thumbnail

updated almost 4 years ago

Cell2Vec by Jan Simon

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

Cell2Vec(C)

uTest_Cell2Vec(doSpeed)

image thumbnail

updated almost 4 years ago

C3D_VaxD2PC by Jan Simon

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

fRMField by Jan Simon

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

TestfRMField(doSpeed)

fRMField(S, ToDelete)

image thumbnail

updated 4 years ago

DateConvert by Jan Simon

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

UniqueFuncNames by Jan Simon

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

UniqueFuncNames()

image thumbnail

updated 4 years ago

fSGolayFilt by Jan Simon

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

isMatlabVer by Jan Simon

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

TestisMatlabVer(doSpeed)

isMatlabVer(varargin)

image thumbnail

updated 4 years ago

strncmpr by Jan Simon

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

CStrCatStr by Jan Simon

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

VChooseKO by Jan Simon

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

TestVChooseKO(doSpeed)

VChooseKO.m

image thumbnail

updated 4 years ago

VChooseKR by Jan Simon

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

TestVChooseKR(doSpeed)

VChooseKR.m

image thumbnail

updated 4 years ago

VChooseKRO by Jan Simon

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

TestVChooseKRO(doSpeed)

VChooseKRO.m

image thumbnail

updated 4 years ago

VChooseK by Jan Simon

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

TestVChooseK(doSpeed)

VChooseK(X, K)

image thumbnail

updated 4 years ago

CalcMD5 by Jan Simon

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

CalcMD5(Data, InClass, OutClass)

TestCalcMD5(doSpeed)

image thumbnail

updated almost 5 years ago

uiFlash by Jan Simon

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

uiFlash(ObjH, Property, Value)

image thumbnail

updated almost 5 years ago

ScaleTime by Jan Simon

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

ScaleTime(Y, Ti, Tf, Tn)

TestScaleTime(doSpeed)

image thumbnail

updated almost 5 years ago

CStrAinBP by Jan Simon

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

CStrAinBP(A, B, CaseSensitive)

TestCStrAinBP(doSpeed)

image thumbnail

updated almost 5 years ago

AutoWarnDlg by Jan Simon

Self-terminating modal warning dialog with flashing icon (gui, dialog, selfterminating)

AutoWarnDlg(Msg, Name, Opt)

Contact us