image thumbnail

updated 6 days ago

contourfcmap: filled contour plot with precise colormap by Kelly Kearney

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

contourcs(varargin)

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

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

image thumbnail

updated 13 days 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 15 days 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 20 days ago

plotboxpos by Kelly Kearney

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

plotboxpos(h)

image thumbnail

updated 20 days ago

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

Combines line plotting with annotation arrows. (line, arrow)

axescoord2figurecoord.m

line2arrow(h, varargin);

parsepv(Param, pvpairs, varargin)

image thumbnail

updated 20 days 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 20 days 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 20 days 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 20 days 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 28 days 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 1 month 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 1 month 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 1 month 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 2 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 2 months ago

HARMFIT: Sinusoidal harmonic curve fitting by François Beauducel

Computes harmonics of a phase signal (signal processing)

harmfit.m

image thumbnail

updated 2 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 2 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 2 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

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 3 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 3 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 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 3 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 6 months ago

Moving window standard deviation by John D'Errico

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

movingstd(x,k,windowmode)

image thumbnail

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

vec2grid by Kelly Kearney

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

vec2grid(varargin)

image thumbnail

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

image thumbnail

updated 12 months ago

Variable Precision Integer Arithmetic by John D'Errico

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

demo_vpi

base2vpi(B,base)

bin2vpi(B)

image thumbnail

updated 12 months ago

nearestSPD by John D'Errico

Finding the nearest positive definite matrix (positive definite mat..., covariance matrix, covariance)

nearestSPD_demo

nearestSPD(A)

image thumbnail

updated 1 year ago

aggregate.m by Kelly Kearney

Group (and apply functions to) values in one matrix based on grouping variables in another (accumarray, aggregate, group)

aggregate(x, y, fun)

image thumbnail

updated 1 year 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 (A)

sparseinv_install

sparseinv_test (extensive)

image thumbnail

updated 1 year ago

OKUBO: Gravity change due to shear and tensile faults by François Beauducel

Okubo's 1992 model for gravity change due to finite rectangular source in elastic half-space. (earth science, geophysics, elastic)

okubo92.m

image thumbnail

updated 1 year ago

Interval merging by Bruno Luong

Merging intervals in the bracket form (interval, merging, timestamps)

IntervalUnion(left, right)

MergeBrackets(left, right)

RangeIntersection(varargin)

image thumbnail

updated 1 year ago

Sparse matrix convolution by Bruno Luong

Convolution of sparse matrices (convolution, sparse)

sconv2(A, B, shape)

image thumbnail

updated 1 year ago

MINMAX: Generalized median-style filter by François Beauducel

Generalization of MIN, MAX, MEDIAN and extreme values filtering. (signal processing)

minmax.m

image thumbnail

updated 1 year ago

ARROWS: generalized 2-D arrows plot by François Beauducel

Vectorized and flexible arrow plot function in 2-D (graphics)

arrows.m

image thumbnail

updated 1 year 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 1 year ago

distance2curve by John D'Errico

Find the closest point on a (n-dimensional) curve to any given point or set of points (nearest, closest, distance)

distance2curve(curvexy,mapxy,interpmethod)

image thumbnail

updated 1 year ago

subtightplot by Felipe G. Nievinski

Asymmetric subplots with variable inner gaps and outer margins. (subplot, plot, axes)

h=subtightplot(m,n,p,gap,marg_h,marg_w,varargin)

subtightplot_demo.m

image thumbnail

updated 1 year ago

Inverse (integrated) gradient by John D'Errico

Vectorized & fully sparse 1-d, 2-d, & 3-d integrated gradients (integration, cumulative, gradient)

consolidator(x,y,aggregation_mode,tol)

intgrad1(fx,dx,f1,method)

intgrad2(fx,fy,dx,dy,f11)

image thumbnail

updated 1 year ago

GREATCIRCLE and LOXODROME: "As the crow flies" and rhumb line path, distance and bearing by François Beauducel

Computes path coordinates, distance and bearing on Earth along great circle or rhumb line. (mapping, navigation)

[lat,lon,dist,bear]=loxodrome(varargin)

varargout=greatcircle(varargin)

image thumbnail

updated 1 year ago

mimtransform by Felipe G. Nievinski

Changes the map projection of a raster image. (image, mapping, projection)

angle_range_positive (angle)

azimuth_range_positive (varargin)

get_border_ind (grid, n)

image thumbnail

updated 1 year ago

read_teqc_compact by Felipe G. Nievinski

Reads teqc's QC compact files more rapidly -- without for loops. (gps, teqc, multipath)

iseven (x)

isodd (x)

read_teqc_compact (dir, basename, ext, elev, azim)

image thumbnail

updated almost 2 years ago

Inhull by John D'Errico

Efficient test for points inside a convex hull in n dimensions (convex hull, inhull, hull)

inhull(testpts,xyz,tess,tol)

image thumbnail

updated almost 2 years ago

IPDM: Inter-Point Distance Matrix by John D'Errico

An efficient and accurate Inter-Point Distance Matrix (distance, interpoint, distances)

demo_ipdm

ipdm(data1,varargin)

Contact us