image thumbnail

updated almost 5 years ago

Group Equally by Ged Ridgway

Ged Ridgway (view profile)

Categorise data into quantiles (categorize, categorise, split)

group_equally(x, n)

image thumbnail

updated 5 years ago

DimFunc by Ged Ridgway

Ged Ridgway (view profile)

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

Unique random permutations by Ged Ridgway

Ged Ridgway (view profile)

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

Struct array conversion by Ged Ridgway

Ged Ridgway (view profile)

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

Modulation tutorial by Ged Ridgway

Ged Ridgway (view profile)

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

Ged Ridgway (view profile)

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

Ged Ridgway (view profile)

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

rocplot(scores, classes, plottype, Nthr)

image thumbnail

updated 5 years ago

Bipolar Colormap by Ged Ridgway

Ged Ridgway (view profile)

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

Ged Ridgway (view profile)

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

Rice/Rician Distribution Demo

ricefit(mudat, vr)

ricepdf(x, v, s)

Contact us