image thumbnail

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

Creating a Cayley graph

image thumbnail

updated 5 years ago

smooth2a by 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 1 year ago

Bilinear interpolation of an image or matrix by Disi A

This function performs bilinear interpolation for a given image or matrix at any location (image processing, signal processing, optimization)

interVal=interpImg(img,yx,zpad)

image thumbnail

updated almost 4 years ago

Bisection's method by Andrea Cirillo

It's a matlab function that finds a regular real function's zero with the bisection's method. (optimization, mathematics, bisection)

p_min=bisection(func,int,iter,tol_x,tol_f)

image thumbnail

updated 3 years ago

PADCAT by Jos (10584)

concatenate vectors with different lengths by padding with NaN (v1.2, oct 2011) (matrix, matrices, matrix manipulation)

padcat(varargin)

image thumbnail

updated 12 months ago

CATSTRUCT by Jos (10584)

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

catstruct(varargin)

image thumbnail

updated almost 3 years ago

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

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

[BER, errors]=btint(varargin)

arg=getArg(argPosition,vararg_in,default)

rsrc=setRSRCpulseShapingFilter(rsrc, rollOff)

image thumbnail

updated 6 years ago

moving_average v3.1 (Mar 2008) by Carlos Adrian Vargas Aguilera

Smooths a matrix (with/without NaN's) via recursive moving average method and eliminates data gaps. (filter design, filter analysis, moving average)

moving_average.m

moving_average2.m

nanmoving_average.m

image thumbnail

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

Get HTML Table Data into MATLAB by Jeremy Barry

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

getTableFromWeb(varargin)

getTableDataScript.m

image thumbnail

updated 3 months ago

Export figure to 3D interactive PDF by Ioannis Filippidis

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

image thumbnail

updated 6 years ago

Sorting a Cell Array by Jeff Jackson

This function will sort a cell array even if it is mixed. (structures, cell arrays, sort cell array)

sortcell(X, DIM)

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

Nested sort of structure arrays by Jake Hughey

Perform a nested sort of a struct array based on multiple fields. (nested, sort, struct)

nestedSortStruct(aStruct, fieldNamesCell, directions)

nestedSortStruct2(aStruct, fieldNamesCell, directions, cl...

sortStruct(aStruct, fieldName, direction)

image thumbnail

updated almost 4 years ago

Get HTML-table data into MATLAB via urlread and without builtin browser by 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 almost 3 years ago

Simple example of genetic algorithm for optimization problems by Andrea Cirillo

It is used to generate useful solutions to optimization and search problems. (genetic, algorithm, optimization)

[p_min, iter, f]=genetic_algorithm (func, numMaxInd, numF...

image thumbnail

updated almost 11 years ago

Find Peak Value by Geng Jun

Help you find peak value from a lot of data. (chemistry, physics, peak value)

fpeak.m

ma.m

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 24 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 almost 8 years ago

Draw 3D arrows by Changshun Deng

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

rotatedata.m

varargout=arrow3d(start,stop,ang,ltype,p,n)

x(~out); end;

image thumbnail

updated almost 8 years ago

cell2str by Per-Anders Ekstrom

Convert a 2-D cell array of strings to a string in MATLAB syntax. (structures, cell arrays, cell string mat2str)

cell2str.m

image thumbnail

updated 7 years ago

Data scaling by Ani

Program to scale the values of a matrix from a user specified minimum to a user specified maximum (linear algebra, scale, scaling data)

image thumbnail

updated 5 years ago

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

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

I=imgaussian(I,sigma,siz)

[B,U]=BCFCM2D(Y,v,Options)

BCFCM3D.m

image thumbnail

updated 3 years ago

Create Healthy Looking Error Bars by Jonathan C. Lansey

Plots nice error bars as the default. Can also top group plots with error bars. (errorbars, error bars, error)

errorb(x,y,varargin)

image thumbnail

updated almost 9 years ago

Alamouti Space-Time Code by Massimo Allegritti

A function that simulate the Alamouti Space-Time code. (wireless, alamouti, space)

H=rey(Nt,Nr)

ber_ml=Alamoudi(snr,soglia);

image thumbnail

updated almost 9 years ago

Random Vectors with Fixed Sum by Roger Stafford

Randomly and uniformly generates vectors with a specified sum and values in a specified interval. (random, fixedsum, ndimensional)

randfixedsum(n,m,s,a,b)

image thumbnail

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

STRJOIN by Kota Yamaguchi

Concatenate an array into a single string. (string, array, cellstr)

strjoin(input, separator)

image thumbnail

updated 7 years ago

readtext by Peder Axensten

Any text (file) you give it, readtext returns an array of the contents. You can chose delimiter etc. (data import, data export, import)

readtext(text, delimiter, comment, quotes, options)

image thumbnail

updated 7 years ago

Draw a circle in a matrix / image by Peter Bone

Draw a circle in a 2D matrix using the integer midpoint circle algorithm (draw, circle, 2d)

image thumbnail

updated 10 years ago

xyerrorbar by Nils Sjöberg

Errorbars for both x and y data. (specialized, plotting, errorbars)

image thumbnail

updated 3 years ago

Laplacian in 1D, 2D, or 3D by Andrew Knyazev

Sparse (1-3)D Laplacian on a rectangular grid with exact eigenpairs. (matrix, mathematics, laplacian)

laplacian(varargin)

image thumbnail

updated almost 4 years ago

MATLAB Goto Statement by Husam Aldahiyat

The one and only. (goto, jump, jmp)

Example14

Example15

Example3

image thumbnail

updated 10 months ago

Progress bar for matlab loops (incl. parfor) by Stefan

A progress bar that shows what percentage of a loop has finished. Based on parfor_progress. (loop, progress, bar)

ProgressBar

image thumbnail

updated 1 year ago

Simple Stock Ticker by David

A simple stock ticker app written with a MATLAB class (class, oop)

Simple Stock Ticker

simpleStockTicker

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

Unit_Commitment by KATHIM Alrifai

Optimal Loading for a Power Station (Unit Commitment) (optimization, measurement, control design)

image thumbnail

updated almost 10 years ago

Erdos-Renyi Random Graph by Pablo Blinder

Random graph generation. (random, graphs, graph theory)

P=permPairs(N)

[G]=erdosRenyi(nv,p,Kreg)

[x,y]=getNodeCoordinates(nv)

image thumbnail

updated 1 year ago

Fit 2D Gaussian with Optimization Toolbox by Nathan Orloff

Fit a 2D rotated gaussian. http://en.wikipedia.org/wiki/Gaussian_function (image processing, optimization, signal processing)

fmgaussfit(xx,yy,zz)

image thumbnail

updated 10 months ago

Gaussian Elimination with Pivoting Method by Cheuk

Function uses Gauss elimination with pivoting to solve a linear system in standard format. (linear, algebra, gaussian)

GAUSS_ELIM(A, b)

image thumbnail

updated 3 years ago

FilterM by Jan Simon

A faster FILTER and FILTFILT: Speedup factor 2.5 to 25 (signal processing, cmex, filter)

FiltFiltM(b, a, X, Dim)

FilterM(b, a, X, Z, Dim, Reverse)

uTest_FiltFiltM(doSpeed)

image thumbnail

updated 1 year ago

K means clustering for Image Compression by Vinay Kumar Tadepalli

K-means clustering is a popular vector quantization method for data compression. (image processing, simulation, demo)

Kmeans_Pre_Post.m

kmeans_clustering.m

Image_kmeans_main.m

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)

fgrepdem

[pout,p]=grep(varargin)

image thumbnail

updated 10 years ago

Fast Pentadiagonal System Solver by Greg von Winckel

Solves symmetric and asymmetric pentadiagonal systems. (linear algebra, pentadiagonal, 5band)

x=pentsolve(A,b)

image thumbnail

updated almost 8 years ago

read_kml by Amy Farris

Reads a Google Earth .kml file into Matlab (google earth, kml, read_kml)

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

naninterp by E. Rodriguez

One dimensional Interpolation over NaNs. (matrices, nan, nans)

naninterp(X)

image thumbnail

updated 2 years ago

Structure display by Thomas Deneux

simple recursive display of a structure content in Matlab (structures, cell arrays, display recursive)

fn_structdisp(Xname)

image thumbnail

updated almost 3 years ago

struct2xml by Wouter Falkena

Convert a MATLAB structure into a XML file. (struct2xml, struct, xml)

struct2xml( s, varargin )

image thumbnail

updated almost 3 years ago

Newton's method done right by Andrew Knyazev

Newton's method for solving systems of nonlinear equations, including nonsquare and inconsistent (mathematics, physics, modeling)

Newton(X,F,X0,varargin)

NewtonDemoRunMe.m

Contact us