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)

demo_svg_water

plot2svg.m

simulink2svg

image thumbnail

updated 7 months ago

Particle Swarm Optimization (Vectorized Code) by Reza Ahmadzadeh

Reza Ahmadzadeh

a simple implementation of Particle Swarm Optimization algorithm (PSO) (pso, particle swarm, swarm intelligence)

VPSO.m

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

Numerical Computing with MATLAB by Cleve Moler

Cleve Moler

Apps from Numerical Computing with MATLAB (mathematics, matrix, article)

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 22 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)

Adaptive Numerical Quadrature Theory

Integration Point Calculation Theory

Quadrature Rule Theory

image thumbnail

updated almost 6 years ago

Writing Fast MATLAB Code by Pascal Getreuer

Pascal Getreuer

Speed up your project with this collection of techniques. (whitepaper, article, paper)

image thumbnail

updated 6 years ago

NaN Suite by Jan Gläscher

Jan Gläscher

  • 1 file
  • 123 downloads
  • 4.82353

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

nanmax.m

nanmean.m

nanmedian.m

image thumbnail

updated 11 years ago

JPEG Compression by Ohad Gal

Ohad Gal

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

jpeg

image thumbnail

updated 12 months ago

1D Finite Element Method (FEM) Example by Cheuk

Cheuk

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

a_def(node)

act_quad(dof_pos, ref_quad_pos, num_edges)

compute_RHS_global(RHS_local, loc_glob, num_edges)

image thumbnail

updated 2 years ago

Experiments with MATLAB by Cleve Moler

Cleve Moler

Apps from Experiments with MATLAB (mathematics, matrix, article)

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 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)

...

E=eme(X,M,L);

PSNR(A,B)

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 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)

bayesian_regression

CALL_bayesian_regression

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)

CSO.m

image thumbnail

updated almost 18 years ago

routh.m by Edmundo Rivera-Santos

Edmundo Rivera-Santos

Returns the symbolic Routh array given a polynomial. (symbolic math, routn, symbolic)

image thumbnail

updated 5 years ago

MatPlanWDM v0.5 by Pablo Pavon Mariño

Pablo Pavon Mariño

Educational network planning tool for the RWA problem in WDM networks (MILP and heuristic based) (optimization, network planning and ..., optical networks)

...

Dynamic(varargin)

HPSR2001_minTransceivers.m

image thumbnail

updated 6 years ago

Genetic Algorithm by Djaghloul Mehdi

Djaghloul Mehdi

Multimodal Function Optimisation (optimization, genetic algorithm, ga)

Fit_fun_val=fit_fun(v)

[w]=JGAopt(w0,pop_size,Kga_fin,Max_error)

image thumbnail

updated 3 days ago

Read TIFF stacks into Matlab fast, with lazy loading by Dylan Muir

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

Unit_Commitment by KATHIM Alrifai

KATHIM Alrifai

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

image thumbnail

updated 1 year ago

Bilinear interpolation of an image or matrix by Disi A

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

Simple example of genetic algorithm for optimization problems by Andrea Cirillo

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

Accelerating Finite Element Analysis (FEA) in MATLAB by Vaishali Shrivastava

Vaishali Shrivastava

Accelerate computationally intensive part of FEA by using Parallel computing. (mathematics, physics, parallel computing)

checkgeometry(node,edge,face,hdata)

circumcircle(p,t)

computeMForcesfromV(nodes, edges, triangles, potential, g...

image thumbnail

updated almost 8 years ago

Draw a circle in a matrix / image by Peter Bone

Peter Bone

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

image thumbnail

updated 1 year ago

Fit 2D Gaussian with Optimization Toolbox by Nathan Orloff

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

Orthogonal Least Squares Algorithms for Sparse Signal Reconstruction by Angshul Majumdar

Angshul Majumdar

Greedy Algorithms for Underdetermined but Sparse Solutions (optimization, signal processing, simulation)

A=matrix_normalizer(B)

GenSig(n, k)

OLS(A, y, m, err)

image thumbnail

updated 2 years ago

CELP codec by Sourav Mondal

Sourav Mondal

This is a code to demonstrate CELP codecs of bitrate 9.6kbps and 16kbps. (celp, audio codec, lpc)

celp16k(x,N,L,M,c,cb,Pidx)

celp9600(x,N,L,M,c,cb,Pidx)

celpana(x,L,M,c,cb,Pidx,bbuf,ebuf,Zf,Zw)

image thumbnail

updated 2 years ago

Edit Distance Algorithm by Reza Ahmadzadeh

Reza Ahmadzadeh

Edit Distance is a standard Dynamic Programming problem. (mathematics, search, dynamic programming)

EditDistance(string1,string2)

image thumbnail

updated almost 2 years ago

tridiag.m by Mark Holmes

Mark Holmes

tridiagonal matrix equation solver (Thomas algorithm) (mathematics, matrix)

tridiag( a, b, c, f )

image thumbnail

updated 11 years ago

Gamma by Paul Godfrey

Paul Godfrey

Compute a very accurate Gamma function over the entire complex plane. (complex, gamma, function)

image thumbnail

updated 7 years ago

Tutorial: C mex matrix demo by Nick Clark

Nick Clark

Index matrix in C like you would do in MATLAB! (optimization, array, vectorize)

image thumbnail

updated 10 years ago

Picture Matching Function by Fahd Ahmad Abbasi

Fahd Ahmad Abbasi

Matches two pictures given as arguments. (image analysis, matching, picture)

ait_picmatch(pic1,pic2)

image thumbnail

updated 3 years ago

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

Andrew Knyazev

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

laplacian(varargin)

image thumbnail

updated almost 2 years ago

K means clustering for Image Compression by Vinay Kumar Tadepalli

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

Fisher Matrix Toolbox (Fisher4Cast ) by Yabebal Fantaye

Yabebal Fantaye

General Fisher Matrix Toolbox and GUI (statistics, probability, fisher4cast)

Cooray_et_al_2004

EXT_FF_Blake_etal2005_Input

EXT_FF_Blake_etal2005_Main(Input_survey)

image thumbnail

updated 2 years ago

Cofactor Matrix Generator by Angelica Ochoa

Angelica Ochoa

Generates a matrix of cofactor values for an M-by-N matrix. (mathematics, statistics, linear algebra)

cof=cof(a);

image thumbnail

updated 2 years ago

Beam Propagation Method for advancing gaussian beam in a profiled medium by Ido

Ido

Basic GUI for Beam Propagation Method. (gui, mathematics, simulation)

Beam Propagation Method for advancing gaussian beam

Beam_Propagation_Method_GUI ( varargin )

image thumbnail

updated 2 years ago

Symmetric eigenvalue decomposition and the SVD by Yuji Nakatsukasa

Yuji Nakatsukasa

Eigendecomposition of a symmetric matrix or the singular value decomposition of an arbitrary matrix (mathematics, matrix, eigenvalue)

qdwh(A,alpha,L,piv)

qdwheig(H,normH,minlen,NS)

qdwhsvd(A,a,b,minlen,NS);

image thumbnail

updated 2 years ago

Nonnegative Matrix and Tensor Factorization (NMF, NTF) with any beta-divergence by Antoine Liutkus

Antoine Liutkus

very simple to use implementation of the NMF/NTF model (nmf, ntf, nonnegative)

betaNTF(V,K,varargin)

image thumbnail

updated 14 years ago

Koch.m by Salman Durrani

Salman Durrani

A function which plots the 'Koch curve' fractal. (fractals, koch curve fractal, mathematics)

image thumbnail

updated 2 years ago

Random Search Algorithm by Reza Ahmadzadeh

Reza Ahmadzadeh

Random search belongs to the fields of Stochastic Optimization and Global Optimization. (optimization, random, search)

RSA.m

RSA_visual.m

image thumbnail

updated 3 years ago

nancumsum by Brett Shoelson

Brett Shoelson

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

B=nancumsum(A,dim,nmode)

image thumbnail

updated 9 months ago

Multiple Variable Traveling Salesmen Problem - Genetic Algorithm by Joseph Kirk

Joseph Kirk

Finds a near-optimal solution to a variation of the MTSP with variable number of salesmen using a GA (optimization, multiple traveling sa..., mtsp)

mtspv_ga(varargin)

image thumbnail

updated 4 years ago

image resampling by Omer Demirkaya

Omer Demirkaya

This is a simple function that resamples the image at a different pixel size (image processing, function, pixel)

imresample(oldpixsize,img,newpixsize,intmethod)

image thumbnail

updated 4 months ago

display_matrix by Marshall

Marshall

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

display_matrix(matrix,varargin)

image thumbnail

updated 4 years ago

DGradient by Jan Simon

Jan Simon

Gradient of arrays as fast C-Mex (derivative, gradient, array)

DGradient(X, Dim, Spacing, Method)

uTest_DGradient(doSpeed)

image thumbnail

updated 4 years ago

Gradient from Neural Network by Alan Jennings

Alan Jennings

Function that takes a NN and creates a new NN that gives the gradient. (neural networks, function, gradient)

NN_DerivativeValidate

NN_GradientFunction(net)

image thumbnail

updated 3 years ago

Example using a MATLAB Class to control a GUI by Alex

Alex

This example shows how to use a Matlab class to control a gui. (class, gui, passing gui data)

standard_fig(varargin)

gui_class_example

Contact us