image thumbnail

updated 2 days ago

piecewise cubic interpolation by Orlando Rodríguez

Code to interpolate function values and corresponding derivatives. (approximation, interpolation, derivatives)

pcinterp( x, y, xi, stype )

image thumbnail

updated 3 days ago

intersectPlaneSurf by Mehmet OZTURK

Intersection points of an arbitrary surface with an arbitrary plane. (plane, vector, intersection)

intersectPlaneSurf(p0, v, exx, eyy, ezz)

example.m

image thumbnail

updated 3 days ago

LINSPACE3: linearly spaced vector defined by three points by Sky Sartorius

Generate a vector as linearly spaced as possible while still including three defined points. (distributed, linspace, logspace)

linspace3(d1, tar, d2, n)

image thumbnail

updated 3 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 3 days ago

Bayesian Linear Regression by Soumya Banerjee

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

bayesian_regression

CALL_bayesian_regression

image thumbnail

updated 3 days ago

plot_subroutines by Christopher Pedersen

plots the subroutines in a function, and their dependencies on each other (code analysis, function, code)

plot_graph(names,from,to,varargin)

plot_subroutines(foo,varargin)

image thumbnail

updated 3 days ago

plot_depfun by Christopher Pedersen

plots a graph of the dependencies of a function (code, function, depfun)

plot_depfun(foo,varargin)

plot_graph(names,from,to,varargin)

image thumbnail

updated 4 days 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 4 days ago

Finite Element Triangular Mesh Generator by Kehinde OROLU

This function generates triangular mesh for a rectangular shape structure for FEM analysis (mesh, finite element analys..., matrix)

femTriangularMeshGenerator(Lx,Ly,Nx,NE)

FEMmeshExample.m

image thumbnail

updated 4 days ago

Find values in a vector or function by Adrian Lara-Quintanilla

For a function y=f(x), this script looks for all the "x" values for a desired value of "y" (y0). (mathematics, data exploration, time series)

findvalues(vector,yvalue)

image thumbnail

updated 8 days ago

LRSLibrary by Andrews Sobral

Low-Rank and Sparse Tools for Background Modeling and Subtraction in Videos (computer vision, tensor, matrix)

image thumbnail

updated 9 days ago

vector3 by Paul Kassebaum

3-D vector plot. (3d, vector, field)

vector3(x,y,z,u,v,w,varargin)

image thumbnail

updated 10 days ago

matsplit by Matt Eicholtz

Split matrix elements into separate variables. (matrices, matrix manipulation, data handling)

matsplit(A,dim)

image thumbnail

updated 10 days ago

Create new image from image tiles by Eydrian

Create tiles of an image and creates a new image with random position of the images (image processing, random, research)

randomTiles.m

image thumbnail

updated 14 days ago

Regression with Gradient Descent by Shujaat Khan

Regression with Gradient Descent; A coefficient finding technique for the desired system model (regression, descent gradient, machine learning)

Arbitary.m

Exp_Pred.m

Linear_Pred.m

image thumbnail

updated 14 days ago

Read TIFF / TIF stacks efficiently, with lazy loading by Dylan Muir

Read a TIFF stack as a memory-mapped tensor. Handles a large range of internal TIFF formats. (tiff, tif, image manipulation)

tiffread29_header(filename)

tiffread29_readimage(TIF, HEADER, vnFrames)

TIFFStack

image thumbnail

updated 16 days ago

Random Data Classification by Etienne Combrisson

Create and classify random data sets (signal processing, classification, random)

ClassifyLDA(x,y,cross_type,cross_nb,rep)

StatTh(y,alpham)

StatThInv(y,DA)

image thumbnail

updated 16 days ago

hist2d(D,Xn,Yn,Xrange,Yrange) by Yang Hu

Optimized 2-dimensional Histogram for Complex Data (statistics, function)

hist2d(D,Xn,Yn,Xrange,Yrange)

image thumbnail

updated 18 days ago

CAD APPS by Larry Silverberg

Computer Aided Design (CAD) and Exploration Applications (APPS) (structures, design, truss)

CADApps

CADAPP_MESH2_VER6(node,member,mmat,nmat,load,bound, z0,de...

adapt_scale(value, unitType, system)

image thumbnail

updated 18 days ago

MappedTensor class - memory-mapped files by Dylan Muir

A better, transparent memmapfile, with complex number support. (oop, matrix, large tensor)

MappedTensor

image thumbnail

updated 20 days ago

ISO 8601 Date String to Serial Date Number by Stephen Cobeldick

Convert an ISO 8601 Date String to Serial Date Numbers. Auto-detect or select the timestamp style. (calendar date, date, iso 8601)

datenum8601(Str,Tok)

image thumbnail

updated 20 days ago

Numeric to English Words by Stephen Cobeldick

Convert a numeric scalar to a string giving the English name of the number value (GB/US). (dialect, words, number names)

num2words(num,opts)

image thumbnail

updated 21 days ago

makeinstall by Norbert Marwan

Create a single install file for your toolbox distribution. (create toolbox, directories, files)

makeinstall(varargin)

image thumbnail

updated 22 days ago

repnan by Chad Greene

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

repnan documentation

repnan(x,method)

image thumbnail

updated 22 days 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 22 days ago

intersectCellArray(a, b) by Noam

Intersection of 2 numeric cell arrays (cell array)

intersectCellArray(a, b)

image thumbnail

updated 23 days ago

print_table by Johan Winges

Print data in a table format (text or latex) (data exploration, utilities, string)

image thumbnail

updated 25 days ago

Monte Carlo simulation example using MATLAB (with comments) by Reza Rahemi

A simple Monte Carlo simulation example with detailed comments (simulation, random, monte carlo)

MonteCarlo_CNTower.m

image thumbnail

updated 25 days ago

barwitherr(errors,varargin) by Martina Callaghan

This is a very simple extension of MatLab's bar function to add error bars. (errorbar, error, bar)

barwitherr(errors,varargin)

image thumbnail

updated 27 days ago

Reshape triggered data acquisition analog input data by Michelle Hirsch

Reshape triggered data acquisition analog input data, removing NaN's. (example, application, daq)

daqtriggerreshape(data)

image thumbnail

updated 1 month ago

MATLAB Support Package for Finch Robot by Tom Gaudette

MATLAB connectivity code to a Finch Robot (finch, robot, programming)

Finch

finchComm

mFinch

image thumbnail

updated 1 month ago

XMLNode by Jarrod Rivituso

MATLAB class that allows you to use XPath to navigate and extract data from an XML document. (xml xpath java namesp..., xml, namespace)

XMLNode

XMLNodeImpl

startup.m

image thumbnail

updated 1 month ago

dataprocess by Matt Visnovsky

Given keywords, this sifts through a delimited data-containing folder and performs bulk operations (signal processing, data import, data exploration)

image thumbnail

updated 1 month ago

Chicken Swarm Optimization Algorithm (demo) by Xian-Bing Meng

This is a new bio-inspired algorithm Chicken Swarm Optimization, proposed by Xian-bing(2014) (mathematics, optimization, matlab)

CSO.m

image thumbnail

updated 1 month ago

Generate Random Numbers from a 2D Discrete Distribution by Tristan Ursell

Random numbers from any 2D discrete probability distribution, at any resolution. (discrete, distribution, generate)

[x0,y0]=pinky(Xin,Yin,dist_in,varargin)

image thumbnail

updated 1 month ago

Worst-Case Propagation of Uncertainty by Brad Ridder

Estimates the propagated uncertainty for a function, at a given point, with given uncertainties. (error, uncertainty, propagation)

colebrook_solve(x)

worstcase(f,x,uncertainties)

worstcase_colebrook_example

image thumbnail

updated 1 month ago

Propagation of Uncertainty by Brad Ridder

Returns the propagated uncertainty in a function F imparted to it from its variables (uncertainty, error, propagation)

PropError(f,varlist,vals,errs)

image thumbnail

updated 1 month ago

MATLAB Table Programming by Richard Johnson

A whitepaper on using the new table class. (whitepaper, paper, article)

image thumbnail

updated 1 month ago

BinaryMatrixUniformRnd.m by Matthew Harrison

approximate uniform generation of binary matrices with specified margins (statistics, matrix, probability)

BinaryMatrixUniformRnd(SampN,rN,cN,BN,tflagN,oflagN,pflagN)

image thumbnail

updated 1 month ago

vtkwrite( filename,dataType,varargin ) by Joe Yeh

The function exports multiple 3D vector and scalar field and call Paraview for display (paraview, vector, 3d)

vtkwrite( filename,dataType,varargin )

image thumbnail

updated 1 month ago

MATLAB Coding Checklist by Richard Johnson

A checklist to help determine if your software is ready to use. (whitepaper, style, guidelines)

image thumbnail

updated 1 month ago

Roots for non-linear highly-transcendental equation. by sai kumar

it solves almost any given linear, non-linear, non-linear & highly-transcendental equations. (matlab, mathematics, function)

[F] =FCT(TOL)

code(a,b)

image thumbnail

updated 1 month ago

ellipseMatrix(y0, x0, a, b, theta, im, c1, c2, pInterp) by Nicolae Cindea

Drawing an ellipse into a matrix image. (ellipse, image generation, draw)

ellipseMatrix(y0, x0, a, b, theta, im, c1, c2, pInterp)

test.m

image thumbnail

updated 1 month ago

nancumprod by Brett Shoelson

Compute the cumulative product of matrices, specifying the treatment of NaNs. (nan, cumulative, prod)

B=nancumprod(A,dim,nmode)

image thumbnail

updated 1 month ago

toPPT by Jens Richter

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

toPPT-1.7c:

print2eps.m

rgb.m

image thumbnail

updated 1 month ago

Support Vector Regression by Ronnie Clark

A MATLAB implementation of Support Vector Regression (SVR). (regression, nonlinear, machine learning)

svr_trainer(xdata,ydata, c, epsilon, kernel, varargin)

image thumbnail

updated 1 month ago

MATLAB Table Fundamentals.pdf by Richard Johnson

Tutorial on the new table class (table, container, class)

image thumbnail

updated 2 months ago

display_matrix by Marshall

Plots the values of a matrix to a MatLab figure. (mathematics, matrix, statistics)

display_matrix(matrix,varargin)

image thumbnail

updated 2 months ago

OpenStreetMap Functions by Ioannis Filippidis

Load map, extract connectivity, plot road network & find shortest paths from OpenStreetMap XML file. (data import, automotive, matrix)

image thumbnail

updated 2 months ago

relError.m by Daniel Simmons

Compute relative error between n-dimensional arrays. (error, relative error, matrix error)

relError( varargin )

Contact us