image thumbnail

updated 2 years ago

inpaint_nans by John D'Errico

John D'Errico

Interpolates (& extrapolates) NaN elements in a 2d array. (nan, inpainting, replace)

(nn(:,1)<1)|(nn(:,1)>n)|(nn(:,2)<1)|(nn(:,2)>m); nn(L,...

valid{ind}; end end


image thumbnail

updated 2 years ago

Scalable Vector Graphics (SVG) Export of Figures by Juerg Schwizer

Juerg Schwizer

Converts 3D and 2D MATLAB plots to the scalable vector format (SVG). (specialized, plotting, svg)




image thumbnail

updated 8 years ago

HERRORBAR by Jos (10584)

Jos (10584)

Horizontal errorbar plot. (specialized, plotting, horizontal)

herrorbar(x, y, l, u, symbol)

image thumbnail

updated 2 years ago

xml2struct by Wouter Falkena

Wouter Falkena

Convert an xml file into a MATLAB structure for easy access to the data. (xml, xml2struct, struct)

xml2struct( file )

image thumbnail

updated 4 months ago

Support Vector Regression by Ronnie Clark

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

barwitherr(errors,varargin) by Martina Callaghan

Martina Callaghan

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


image thumbnail

updated almost 5 years ago

SeisLab 3.01 by Eike Rietsch

Eike Rietsch

Release 10.0301 of a collection of functions for analysis/display of seismic and well-log data. (seismic, well logs, seislab)




image thumbnail

updated 9 months ago

polyfitn by John D'Errico

John D'Errico

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




image thumbnail

updated 5 years ago

JSON Parser by Joel Feenstra

Joel Feenstra

Parses JSON strings into structures and cells (data import, data export, json)


image thumbnail

updated almost 10 years ago

Plot 2D/3D Vector with Arrow by Rentian Xiong

Rentian Xiong

This function plots a line vector with arrow head. (2d, 3d, vector)

image thumbnail

updated 1 year ago

Write Cell Array to Text File by Roland Pfister

Roland Pfister

A cell array is written to a delimited output file, incl. options for appending & custom delimiters. (array, cell, dlmwrite)


image thumbnail

updated 9 days ago

Export 3D data to ParaView in VTK legacy file format by Joe Yeh

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 almost 4 years ago

Simple example of PSO algorithm by Andrea Cirillo

Andrea Cirillo

Matlab function to find the minimum of a objective function with the PSO Algorithm (optimization, mathematics, pso)

[p_min, f_min, iter]=pso(func, numInd, range, n_var, tole...

image thumbnail

updated 10 years ago

matrix2latex by Moritz Koehler

Moritz Koehler

  • 1 file
  • 4.64516

MATLAB array to LaTeX table converter. (data import, data export, array)

matrix2latex(matrix, filename, varargin)

image thumbnail

updated 6 years ago

String Toolkits by Dahua Lin

Dahua Lin

A set of useful string manipulation functions that MATLAB does not offer (strings, string manipulation, string processing)

strendswith(s, pat)

strgsub(s, re, replacement)

strjoin(terms, delimiter)

image thumbnail

updated 23 days ago

Numerical Integration Toolbox by George Papazafeiropoulos

George Papazafeiropoulos

Contains several numerical integration rules to evaluate the integral of a function (abscissa, adaptive, chebyshev)




image thumbnail

updated 1 year ago

Bound Values of an array by Pramit Biswas

Pramit Biswas

Check whether value of the array within specified range or not and change accordingly (array, minimum, maximum)

MinMaxCheck( minimum, maximum, A2comp )

image thumbnail

updated 6 years ago

NaN Suite by Jan Gläscher

Jan Gläscher

  • 1 file
  • 4.82353

Descriptive Statistics for N-D matrices ignoring NaNs. (statistics, probability, nan)




image thumbnail

updated 11 years ago

IEEE 802.11a WLAN model by Martin Clark

Martin Clark

IEEE 802.11a WLAN physical layer model, with demonstration of adaptive modulation and coding. (wireless, 80211a, 80211)

IEEE80211a_graphics(s, ax, firstcall, params);

IEEE80211a_graphics(s, ax, firstcall, params);

IEEE80211a_open_graphics(blk, forceClose);

image thumbnail

updated 1 year ago

MATLAB R-link by Robert Henson

Robert Henson

Functions for calling the statistical package R from within MATLAB. (statistics, probability, r cran)




image thumbnail

updated 11 years ago

JPEG Compression by Ohad Gal

Ohad Gal

An example for jpeg compression and the restoration. (compression, jpeg, function)


image thumbnail

updated almost 10 years ago

XML Toolbox by Marc Molinari

Marc Molinari

Conversion of MATLAB data types to XML and vice versa. (data import, data export, xml toolbox)




image thumbnail

updated 12 months ago

1D Finite Element Method (FEM) Example by Cheuk


A 1D finite element method (FEM) example is provided to teach the basics of using FEM to solve PDEs. (finite, element, method)


act_quad(dof_pos, ref_quad_pos, num_edges)

compute_RHS_global(RHS_local, loc_glob, num_edges)

image thumbnail

updated 4 years ago

Get HTML Table Data into MATLAB by Jeremy Barry

Jeremy Barry

Identify tables and interactively select the data to bring into MATLAB. (html, table, regexp)



image thumbnail

updated 1 month ago

Variable Precision Integer Arithmetic by John D'Errico

John D'Errico

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




image thumbnail

updated 5 months ago

Export figure to 3D interactive PDF by Ioannis Filippidis

Ioannis Filippidis

Export figure as U3D file or directly to 3D interactive graphics within PDF. (3d, u3d, graphics)

image thumbnail

updated 3 years ago

Progress monitor (progress bar) that works with parfor by Jeremy


Displays the percentage of parfor iterations which have completed. (parfor, progress bar, progressbar)



image thumbnail

updated 4 years ago

Image Error Measurements by Michael Chan

Michael Chan

Measures the differences between 2 images, and measurement of image quality. (image processing, fidelity, quality)




image thumbnail

updated 4 years ago

Get HTML-table data into MATLAB via urlread and without builtin browser by Sven Koerner

Sven Koerner

Based on getTableFromWeb with a little more functionality for bring in table data from web to MATLAB (urlread, cell array, data)

getTableFromWeb_mod(url_string, nr_table)

image thumbnail

updated 4 months ago

OpenStreetMap Functions by Ioannis Filippidis

Ioannis Filippidis

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

image thumbnail

updated 4 years ago

fdep: a pedestrian function dependencies finder by us


FDEP dissects ML files and iteratively looks for all user defined functions used during runtime (path, directories, files)




image thumbnail

updated almost 7 years ago

Recursive directory listing by Gus Brown

Gus Brown

Directory listing with a difference, supports directory wildcards. (path, directories, files)


image thumbnail

updated 7 months ago

Cell Array to CSV-file [improved cell2csv.m] by Jerry


Writes cell array content into a *.csv file. (cell arrays, array to file, array to text)

cell2csv(fileName, cellArray, separator, excelYear, decimal)

image thumbnail

updated 2 years ago

DataHash by Jan Simon

Jan Simon

MD5 or SHA hash for array, struct, cell or file (hash, file, array)

DataHash(Data, Opt)

image thumbnail

updated 8 years ago

Draw 3D arrows by Changshun Deng

Changshun Deng

A function to draw 3D-arrows. (specialized, plotting, arrow)



x(~out); end;

image thumbnail

updated almost 12 years ago

save2word by Suresh Joel

Suresh Joel

Paste figure to Microsoft word automatically using ActiveX. (development environme..., word, activex)

image thumbnail

updated almost 7 years ago

Matgraph by Ed Scheinerman

Ed Scheinerman

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




image thumbnail

updated 3 years ago

Kalman Filter in Matlab (Tutorial) by Rao Farhat Masood

Rao Farhat Masood

Learn how to Implement Kalman Filter in Matlab. (kalman, filter, covariance)

(A*s1*C'+V12)/(V2+C*s1*C'); dd=max(max(abs(k1-k0))); ...


image thumbnail

updated 8 years ago

Grayscale to RGB Converter by Valeriy Korostyshevskiy

Valeriy Korostyshevskiy

Convert grayscale images to RGB using a specified colormap. (color, grayscale, rgb)

grs2rgb(img, map)

image thumbnail

updated 3 years ago

Adjust "quiver" arrowhead size by Kevin J. Delaney

Kevin J. Delaney

Lets user easily tweak vectors plotted by "quiver", making arrowheads bigger or smaller. (quiver, arrowhead, vector)

adjust_quiver_arrowhead_size(quivergroup_handle, scaling_...

image thumbnail

updated almost 6 years ago

smooth2a by Greg Reeves

Greg Reeves

Smooths a 2D matrix using a mean filter over a user-defined rectangle. Ignores and preserves NaNs. (2d, approximation, interpolation)

image thumbnail

updated 2 years ago

Arrow3 Version 5 by Tom Davis

Tom Davis

Draws lines with directional arrowheads. (annotation, customization, arrow)


image thumbnail

updated 2 years ago

Example MATLAB class wrapper for a C++ class by Oliver Woodford

Oliver Woodford

An example of how to safely encapsulate a C++ class in a MATLAB class, via a mex interface. (c, mex, wrapper)


image thumbnail

updated 3 years ago

Comparison of C++ and MATLAB Using Object Oriented Application Example by Stuart McGarrity

Stuart McGarrity

Wireless Communications Application Example Used to Compare C++ and MATLAB® Code (whitepaper, article, paper)

[BER, errors]=btint(varargin)


rsrc=setRSRCpulseShapingFilter(rsrc, rollOff)

image thumbnail

updated 5 years ago

Bias Field Corrected Fuzzy C-Means by Dirk-Jan Kroon

Dirk-Jan Kroon

Estimates the illumination artifact in 2D (color) and 3D CT and MRI and segments into classes. (bias field, biasfield, segmentation)




image thumbnail

updated 27 days ago

DateStr2Num by Jan Simon

Jan Simon

Convert date string to date number - C-Mex: much faster than DATENUM (datevec, date, number)

DateStr2Num(S, F)

InstallMex(SourceFile, varargin)


image thumbnail

updated 1 year ago

struct2csv by James Slegers

James Slegers

Output a structure to a .csv file, with column headers (csv, struct, struct2csv)


image thumbnail

updated 1 year ago

CATSTRUCT by Jos (10584)

Jos (10584)

Concatenate/merge structures (v4.0, dec 2013). (structures, cell arrays, structure)


image thumbnail

updated 2 months ago

Bayesian Linear Regression by Soumya Banerjee

Soumya Banerjee

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



image thumbnail

updated 3 months ago

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

Xian-Bing Meng

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


Contact us