image thumbnail

updated 9 days ago

Slides for the video "Direct Methods for Sparse Linear Systems : the MATLAB sparse backslash" by Tim Davis

Slides for a plenary talk at the 2006 SIAM Annual Meeting (whitepaper, article, paper)

image thumbnail

updated 9 days ago

getversion by Tim Davis

Portable replacement for verLessThan on old MATLAB releases (version, ver, verlessthan)

getversion

image thumbnail

updated 9 days ago

A pretty seashell GUI by Tim Davis

A GUI that draws a pretty seashell (gallery, seashell, parametric)

seashell

shellgui(varargin)

Contents.m

image thumbnail

updated 9 days ago

pagerankdemo by Tim Davis

A graphical demo of a random web surfer (aka Google's PageRank) (google, gallery, pagerank)

pagerankdemo

image thumbnail

updated 9 days ago

MESHND by Tim Davis

creation and nested dissection of regular 2D and 3D meshes (nested dissection, linear algebra, sparse)

meshnd

meshnd_example

meshnd_quality

image thumbnail

updated 9 days ago

gipper by Tim Davis

Creates a zip file, using regexp to include and/or exclude filenames that match a list of patterns (path, files, zip)

gipper

image thumbnail

updated 9 days ago

waitmex: using a waitbar inside a C mexFunction by Tim Davis

A set of C routines for creating, updating, and destroying a waitbar from within a mexFunction (waitbar, mexfunction, utilities)

waitex

waitexample

waitmex

image thumbnail

updated 9 days ago

UFget: MATLAB interface to the UF sparse matrix collection by Tim Davis

Downloads sparse matrices from the web directly into the MATLAB workspace, from a vast range of real (linear algebra, sparse, matrix)

UFget

UFget_defaults

UFget_lookup

image thumbnail

updated 9 days ago

spok: checks if a MATLAB sparse matrix is OK by Tim Davis

Useful for mexFunction authors only (linear algebra, sparse, mex)

spok

spok_install

spok_test

image thumbnail

updated 9 days ago

find_components by Tim Davis

finds the connected components of an image (morphology, segmentation, image)

find_components

find_components_example(example, dopause)

largest_component

image thumbnail

updated 9 days ago

subsref2 by Tim Davis

subsref2 is a replacement for subsref, performing the computation C=A(i,j). (sparse, subsref)

subsref2

image thumbnail

updated 9 days ago

LINFACTOR: uses LU or CHOL to factorize a matrix, or previously computed factors to solve Ax=b by Tim Davis

A simple M-file to solve Ax=b using LU or CHOL. (inv, linear algebra, linfactor)

linfactor

lintest

lintests

image thumbnail

updated 9 days ago

Gaussian Elimination Example (with partial pivoting): GEE, it's simple! by Tim Davis

A set of simple functions that illustrate Gaussian Elimination with partial pivoting (gaussian elimination, partial pivoting, linear algebra)

gee_its_short

gee_its_simple

gee_its_simple_backsolve

image thumbnail

updated 9 days ago

MATLAB Primer, 7th Edition, CRC Press, 2005 by Tim Davis

This is not the book itself, but a set of files printed in the book, "MATLAB Primer, 7th Ed." (matlab primer, book program, companion software)

bisect(f,x,tol)

ddom(A, tol)

ddomloops(A,tol)

image thumbnail

updated 9 days ago

Don't let that INV go past your eyes; to solve that system, FACTORIZE! by Tim Davis

A simple-to-use object-oriented method for solving linear systems and least-squares problems. (factorization, backslash, mldivide)

cheap_condest

cod

cod_qmult

image thumbnail

updated 9 days ago

sparseinv: sparse inverse subset by Tim Davis

Computes a subset of inv(A) for a real sparse matrix A, using Takahashi's equations. (sparse, inverse)

sparseinv

sparseinv_install

sparseinv_test

image thumbnail

updated 15 days ago

Round with significant digits by François Beauducel

Rounds towards the nearest number with N significant digits. (round, digit, precision)

roundsd.m

image thumbnail

updated 1 month ago

movingstd(x,k,windowmode) by John D'Errico

A (fast) windowed std on a time series (movingavg, standard deviation, std)

movingstd(x,k,windowmode)

image thumbnail

updated 1 month ago

HPF - a big decimal class by John D'Errico

High precision floating point arithmetic, a new class written in MATLAB (hpf, multiple precision, big decimal)

Demo script for my High Precision Floating point decimal

hpf_regression_testing

DefaultDecimalBase(DBaseNew)

image thumbnail

updated 1 month ago

contourfcmap: filled contour plot with precise colormap by Kelly Kearney

Creates a filled contour plot, with more precise control over colors than contourf. (contor, contour, filled)

contourcs(varargin)

contourfcmap(x,y,z,clev,cmap,lo,hi,cbarloc)

contourfcmap(x,y,z,clev,cmap,lo,hi,cbarloc,evencb)

image thumbnail

updated 3 months ago

READHGT: Import/download NASA SRTM data files (.HGT) by François Beauducel

Imports or download SRTM worldwide digital elevation model data files. (earth science, digital elevation mod..., mapping)

dem.m

landcolor(n)

readhgt.m

image thumbnail

updated 3 months ago

DEM: Shaded relief image plot (digital elevation model) by François Beauducel

Pretty shaded relief map as flat image. (earth science, digital elevation mod..., mapping)

dem.m

landcolor(n)

seacolor(n)

image thumbnail

updated 3 months ago

Color Palette Tables (.cpt) for Matlab by Kelly Kearney

Create and apply GMT-style colormaps in Matlab (color palette table, colormap, gradient)

cptcmap(varargin)

image thumbnail

updated 3 months ago

legendflex: a more flexible legend by Kelly Kearney

Create a legend with more flexible positioning and labeling capabilities (legend, label, potw)

getpos.m

legendflex(varargin)

legendflex(varargin)

image thumbnail

updated 3 months ago

LL2UTM and UTM2LL by François Beauducel

Latitude/longitude to and from UTM coordinates precise and vectorized conversion. (geodesy, coordinates system, mapping)

ll2utm.m

utm2ll.m

image thumbnail

updated 5 months ago

Voronoi Sphere by Bruno Luong

Compute voronoi's diagram of points on the 2-sphere (voronoi, delaunay, sphere)

vcell_solidangle.m

voronoisphere(xyz, varargin)

test_voronoisphere.m

image thumbnail

updated 5 months ago

Plot earth by Bruno Luong

Plot earth in 3D (graphic, earth, sphere)

cubedsphere(n, prjtype, shapetype)

mercator(n, shapetype)

plotearth(varargin)

image thumbnail

updated 5 months ago

plotboxpos by Kelly Kearney

Returns the position of a plotted axis region (annotation, customization, plotted)

plotboxpos(h)

image thumbnail

updated 5 months ago

line2arrow: Add an arrowhead to a plotted line by Kelly Kearney

Combines line plotting with annotation arrows. (line, arrow, r2014b graphics ready)

axescoord2figurecoord.m

line2arrow(h, varargin);

parsepv(Param, pvpairs, varargin)

image thumbnail

updated 5 months ago

tick2text: create easy-to-customize tick labels by Kelly Kearney

Customized tick marks, maintained on zoom and pan (annotation, customization, tick)

params=parse_pv_pairs(params,pv_pairs)

tick2text(varargin)

image thumbnail

updated 5 months ago

boundedline: line plots with shaded error/confidence intervals by Kelly Kearney

Plot one or more lines with a shaded boundary (can represent error, confidence intervals, etc). (bounds line confidenc..., so well programmed, potw)

B=inpaint_nans(A,method)

boundedline(varargin)

outlinebounds(hl, hp)

image thumbnail

updated 5 months ago

Read and write multiplexed miniSEED file by François Beauducel

Imports and exports data files in seismological format "mini-SEED" (geophysics, seismology, data import)

mkmseed.m

rdmseed.m

image thumbnail

updated 5 months ago

Geodetic Transformations Toolbox by Peter Wasmeier

Set of tools for transformation used in geodesy, especially when using GPS or mapping (ellipsoidal coordinat..., cartesian coordinates, transformation)

CART=ell2cart(ELL,ellips,FileOut)

ELL2=molodenskytrafo(ELL1,p,ellips,dir,FileOut)

ELL=cart2ell(CART,ellips,FileOut)

image thumbnail

updated 6 months ago

ecopathlite: a Matlab-based implementation of Ecopath by Kelly Kearney

Reproduces the main mass-balance algorithm from the popular ecosystem modeling tool, Ecopath (ecopath, ecosystem)

calcstanza(A)

cprintf.m

cptcmap(varargin)

image thumbnail

updated 6 months ago

Min/Max selection by Bruno Luong

Search for k smallest or largest elements in the array (min, max, sorting)

buildInternal_mxArrayDef(mxArraydefFilename)

getmexopts(Tag)

maxk(varargin)

image thumbnail

updated 6 months ago

Okada: Surface deformation due to a finite rectangular source by François Beauducel

Computes Okada's 1985 solution for displacements, tilts and strains due to fault dislocation. (deformation, elastic, fault)

okada85.m

okada_checklist

image thumbnail

updated 6 months ago

HARMFIT: Sinusoidal harmonic curve fitting by François Beauducel

Computes harmonics of a phase signal (signal processing)

harmfit.m

image thumbnail

updated 6 months ago

Doodson tidal wave components by François Beauducel

Earth tidal waves harmonic development by Darwin-Doodson (astronomy, earth tides)

doodson.m

image thumbnail

updated 6 months ago

A suite of minimal bounding objects by John D'Errico

Suite of tools to compute minimal bounding circles, rectangles, triangles, spheres, incircles, etc. (miminum, bound, bounding)

incircle(x,y)

insphere(xyz,tri)

minboundcircle(x,y,hullflag)

image thumbnail

updated 7 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 7 months ago

SLM - Shape Language Modeling by John D'Errico

Least squares spline modeling using shape primitives (spline, splines, cubic)

slm_tutorial

hermite2slm(harray)

lse(A,b,C,d,solverflag,weights)

image thumbnail

updated 7 months ago

RDSAC: read a SAC seismic data file by François Beauducel

Imports/plots a seismic data file in the IRIS/SAC format. (seismology, geophysics, data import)

rdsac.m

image thumbnail

updated 7 months ago

FFT-based convolution by Bruno Luong

Discrete convolution using FFT method (convolution, conv, conv2)

conv2fft(varargin)

convnfft(A, B, shape, dims, options)

convnfft_install

image thumbnail

updated 11 months ago

packed by Felipe G. Nievinski

Store and manipulate symmetric matrices with half of the dense memory consumption (symmetric, cholesky)

call_subsref (A, info)

chol2(varargin)

cputime_res

image thumbnail

updated 11 months ago

geod -- yet another geodetic toolbox by Felipe G. Nievinski

Vectorized manipulation of coordinates commonly used in geodesy. (geodesy, geomatics, surveying)

Introduction to Functional Programming with Anonymous Fun...

add_all (a, b)

compute_meridian_radius (lat, ell)

image thumbnail

updated 12 months ago

Get computer name/hostname by Manuel Marin

It provides the computer name where running. Useful for customizing scripts depending on the machine (hostname, operating system, computer name)

getComputerName()

image thumbnail

updated 1 year ago

vec2grid by Kelly Kearney

Reshapes vector data to a grid (matrices, reshape, griddata)

vec2grid(varargin)

image thumbnail

updated 1 year ago

Merge sorted arrays by Bruno Luong

Given two already sorted arrays, the function combines them in an unique sorted array (sort, sortrows, sorted)

mergemex(varargin)

mergerowsmex(varargin)

mergesa(A, B, rowsflag)

image thumbnail

updated 1 year ago

mydate by Felipe G. Nievinski

Augments MATLAB's date/time library for improved handling of epochs and formats commonly used in GPS (date, time, epoch)

convert_to_doy (epoch)

cputime_res

cputime_tol

image thumbnail

updated 1 year ago

interp_linear_c by Felipe G. Nievinski

C/MEX linear and bi-linear interpolation for regularly spaced data (linear, bilinear, interpolation)

interp1_linear_c.m

interp2_linear_c.m

Contact us