image thumbnail

updated 22 days ago

Variable Precision Integer Arithmetic by John D'Errico

Arithmetic with integers of fully arbitrary size. Arrays and vectors of vpi numbers are supported. (finite field, integer, biginteger)

base2vpi(B,base)

bin2vpi(B)

binomfactors(n,k)

image thumbnail

updated 1 month ago

Bayesian Linear Regression by Soumya Banerjee

This is a set of MATLAB functions to do Bayesian linear regression (statistics, optimization, mathematics)

CALL_bayesian_regression

bayesian_regression

image thumbnail

updated 1 month ago

Pack & Unpack variables to & from structures with enhanced functionality by Adi Navve

v2struct packs and unpacks variables to and from structures with enhanced functionality. (function inputs, struct2vars, pack)

v2struct

v2structDemo1()

v2structDemo2()

image thumbnail

updated 1 month ago

repnan by Chad Greene

Replace NaNs in a 1D array by interpolation (interpolation, nan, nans)

repnan documentation

repnan(x,method)

image thumbnail

updated 1 month ago

stat by Chad Greene

Get a quick summary of variable statistics in the command window. (who, whos, min)

stat

stat(variable)

image thumbnail

updated 3 months ago

toPPT by Jens Richter

toPPT is a powerful tool for generating powerpoint presentations programmatically defined in matlab. (powerpoint, microsoft, windows)

pptfigure.m

print2eps.m

rgb.m

image thumbnail

updated 5 months ago

nantight by Chad Greene

Sets axis limits to the range of finite data. (nan, axis, axis tight)

nantight

nantight(h)

image thumbnail

updated 5 months ago

Graphical User Interface for Solving Ordinary Differential Equations for In-Vitro Infection by Soumya Banerjee

A graphical user interface to solve a set of ordinary differential equations (in-vitro infection) (data import, data export, gui)

odesolver_outline

odecall_eclipse_tcl_jv_local(target,infected1,...

image thumbnail

updated 5 months ago

Create strong passwords by Alan Jennings

Creates passwords with customizable character limits also allowing for limited character sets (password, security, random)

Password=CreatePassword(N,N_c,N_C,N_n,N_s,List_s)

CreatePassword_Demo

image thumbnail

updated 7 months ago

replacefartherthan by Chad Greene

Replace or delete values in a surface farther than a given distance from points. (griddata, nan, distance)

replacefartherthan.m

replacefartherthan

image thumbnail

updated 8 months ago

polyfitn by John D'Errico

Polynomial modeling in 1 or n dimensions (polyfit, modeling, regression)

polyfitn_demo

polydern(p,diffvar)

polyfitn(indepvar,depvar,modelterms)

image thumbnail

updated 1 year ago

Example files for "Programming with MATLAB" Webinar by Jiro Doke

Example files for "Programming with MATLAB" Webinar, first delivered October 3, 2013. (programming, mathworks, webinar)

Automated Wind Turbine Data Analysis

Wind Turbine Data Analysis

WindAnalysisFcn.m

image thumbnail

updated 2 years ago

The Fibonacci Sequence by John D'Errico

Efficient computation of Fibonacci and Lucas numbers (fibonacci, lucas, numbers)

fibonacci(n,modulus)

fibrecur(N)

fibrecurmemo(N)

image thumbnail

updated almost 3 years ago

Monte Carlo Markov Chain for inferring parameters for an Ordinary Differential Equation model by Soumya Banerjee

This function uses a Monte Carlo Markov Chain algorithm to infer parameters for an ODE model (biotech, data export, data import)

analyze_mcmc(parallel)

mcmc_ode

test_gamma()

image thumbnail

updated 3 years ago

Shift matrix by Shalin Mehta

Fast and convenient function for shifting a matrix in 2D. (shift, matrix manipulation, interp2)

Example usage of function shiftmatrix.

out=shiftmatrix(in,xystep,shiftvec,padval)

image thumbnail

updated 3 years ago

regstats2 by Oleg Komarov

Regstats enhanced. Robust std.errors; loops on a matrix of responses, 'onlydata' model. (regstats, regression, statistics)

REGSTATS2: what's new

stats=regstats2(responses,data,model,whichstats)

image thumbnail

updated 3 years ago

Demo files for "Parallel Computing with MATLAB on Multicore Desktops and GPUs" Webinar by Jiro Doke

Demo files for "Parallel Computing with MATLAB on Multicore Desktops and GPUs" Webinar (May 4, 2011) (parallel, gpu, cpu)

Parameter Sweep of ODEs

Solving 2nd Order Wave Equation on the GPU Using Spectral...

Trying 2 different solvers on the same ODE system

image thumbnail

updated 4 years ago

Speeding Up Optimization Problems with Parallel Computing by Stuart Kozola

Files from the webinar: Speeding up optimization problems with parallel computing (aerospace, automotive, demo)

computebestportfolioPCT(expRet,expCov,portSize,targetRet)

Electron Problem Optimization

crossoverNcK(parents,options,GenomeLength,FitnessFcn,unus...

image thumbnail

updated 4 years ago

Gradient from Neural Network by Alan Jennings

Function that takes a NN and creates a new NN that gives the gradient. (neural networks, function, gradient)

NN_DerivativeValidate

NN_GradientFunction(net)

image thumbnail

updated 4 years ago

Design Pattern: Iterator (Behavioural) by Bobby Nedelkovski

A MATLABĀ® OOP implementation of the Iterator Behavioural Design Pattern (behavioural, design pattern, object oriented progr...)

Test Script for Class CellArrayListIterator

CellArrayList

CellArrayListIterator

image thumbnail

updated 4 years ago

Data Structure: A Cell Array List Container by Bobby Nedelkovski

Provides a useful 1D container for storing an ordered heterogeneous set of elements (data structure, cell array, list)

Test Script for Class CellArrayList

CellArrayList

List

image thumbnail

updated 4 years ago

Fitting Data with A Sudden Discontinuity by Matthew Simoneau

Find the displacement and supply it as a shift in a custom equation. (matrix)

heaviside(input)

Fitting Data with a Discontinuity

image thumbnail

updated 4 years ago

parTicToc by Sarah Wait Zaranek

This is a utility for timing PARFOR loops. (parfor, profiler, parallel)

PAR TIC-TOC

sweepExample()

Par

image thumbnail

updated 4 years ago

Error API for Application Development by Malcolm Wood

An API to assist with error reporting in MATLAB applications (development environme..., error, lasterror)

error_api_demo

xDemo

xError(id,str,varargin)

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

Enhancing e-Infrastructures with Advanced Technical Computing: Parallel MATLABĀ® on the Grid by Arjav Chakravarti

code exercises for M11 tutorial at SC08 (distributed processin..., parallel computing, sc08)

Demo1_plot_optim(fig, risk, returns)

Demo1_plot_optim(fig, risk, returns)

Demo1_setup_optim(difficulty)

image thumbnail

updated 5 years ago

Generate .m-file code for any MATLAB variable by Volkmar Glauche

Generate .m script code for any MATLAB variable. If run, the code recreates the input variable. (data export, gui, matrix)

GENERATE CODE FOR VARIABLES

gencode(item, tag, tagctx)

gencode_rvalue(item)

image thumbnail

updated almost 7 years ago

Matgraph by Ed Scheinerman

Toolbox for working with simple, undirected graphs (graph theory, toolbox, graphs)

Checking graph isormorphism in Matgraph

Coloring graphs in Matgraph

check_matrix(A)

image thumbnail

updated 7 years ago

fpat: a fuzzy pattern detector by us

the only pattern detector you will ever need (fuzzy, pattern, find)

p=fpat(varargin)

fpatdemo

image thumbnail

updated almost 8 years ago

matrixop by David Gleich

A Matlab object that acts just like a matrix but represents a linear operator as a function. (linear algebra, matrix, class)

Computing Ritz values with the matrixop class

Representing a sparse operator

matrixop interop with Matlab functions

image thumbnail

updated 8 years ago

grep: a pedestrian, very fast grep utility by us

a unix-like, very fast grep utility to find strings(s) in files of any type (path, directories, files)

[pout,p]=grep(varargin)

fgrepdem

image thumbnail

updated almost 9 years ago

mklib: a pedestrian function library loader generator by us

creates a function library loader from a list of m-files (possibly with subfunctions) (development environme..., programming, library)

[lib,p]=mklib(lnam,varargin)

mkdemo

r=bsin(v)

image thumbnail

updated 9 years ago

fparser: a pedestrian m-file parser and tokenizer by us

lists ML-tokens and constructs (function, var, struct assignment) in a m-file or from a command line (script, function, variable)

olst=fparser(varargin)

fpardemo

fpartest.m

image thumbnail

updated 9 years ago

gettok: a pedestrian matlab constructs decoder by us

a decoder/tokenizer for MATLAB constructs (structures, cell arrays, syntax)

[out1,out2,out3]=gettok(s,varargin)

stokdemo

o=stok(ivar)

Contact us