image thumbnail

updated 4 years ago

Group Equally by Ged Ridgway

Categorise data into quantiles (categorize, categorise, split)

group_equally(x, n)

image thumbnail

updated 4 years ago

DimFunc by Ged Ridgway

Apply a function along any dimension of an n-D array. (multidimensional arra..., nd, first nonsingleton di...)

dimfunc(func, data, dim, out_length, handles_matrix)

image thumbnail

updated 4 years ago

Unique random permutations by Ged Ridgway

Random sample (without replacement) from unique permutations of a vector or row-perms of a matrix (combinatorics, permutation, random)

nchoosek_m(n, k, m)

perms_m(n, m)

sample_no_repl(n, k)

image thumbnail

updated 4 years ago

Struct array conversion by Ged Ridgway

Convert in either direction between struct-array and structure of arrays (struct, database, spreadsheet)

Examples of processing basic database from an xls spreads...

struct2struct(old)

image thumbnail

updated almost 5 years ago

MyFisher by Giuseppe Cardillo

the definitive function for the Fisher's exact and conditional test for any RxC matrix (statistics, fishers exact conditi..., contingency table)

P=myfisher(varargin)

image thumbnail

updated almost 5 years ago

Modulation tutorial by Ged Ridgway

Simple illustration of the Jacobian determinant as a geometric scaling factor (neuroimaging, morphometry, vbm)

Simple illustration of the Jacobian determinant as a geom...

image thumbnail

updated 5 years ago

Default arguments by Ged Ridgway

Set missing/empty variable or field to given value (default, argument processing, input processing)

default(varargin)

image thumbnail

updated 5 years ago

(AU)ROC(CH) by Ged Ridgway

Receiver Operating Characteristic curve with convex hull, plus areas under ROC and ROCCH. (receiver operating ch..., roc, auc)

...

image thumbnail

updated 5 years ago

Bipolar Colormap by Ged Ridgway

Symmetric/diverging/bipolar cold-neutral-hot colormap (colormap, color map, color scale)

Find a bipolar colormap, linear in grayscale, close to a ...

bipolar(m, n, interp)

colormap_optimization(cmap)

image thumbnail

updated 6 years ago

Rice/Rician distribution by Ged Ridgway

Functions for Rice/Rician PDF: stats, samples, and distribution fitting. (statistics, probability, rice)

Rice/Rician Distribution Demo

ricefit(mudat, vr)

ricepdf(x, v, s)

image thumbnail

updated 7 years ago

rsplit by Gerald Dalley

Splits a delimited string into a cell array using a regular expression. (strings, string, break)

Contact us