image thumbnail

updated 2 years ago

Scalable Vector Graphics (SVG) Export of Figures by 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 3 months 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 9 years ago

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

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

image thumbnail

updated 6 months ago

Particle Swarm Optimization (Vectorized Code) by Reza Ahmadzadeh

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

VPSO.m

image thumbnail

updated almost 4 years ago

Simple example of PSO algorithm by 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 2 years ago

Numerical Computing with MATLAB by Cleve Moler

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

image thumbnail

updated almost 11 years ago

JPEG Compression by Ohad Gal

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

jpeg

image thumbnail

updated almost 6 years ago

Writing Fast MATLAB Code by Pascal Getreuer

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

image thumbnail

updated 2 years ago

Experiments with MATLAB by Cleve Moler

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

image thumbnail

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

a_def(node)

act_quad(dof_pos, ref_quad_pos, num_edges)

compute_RHS_global(RHS_local, loc_glob, num_edges)

image thumbnail

updated almost 18 years ago

routh.m by Edmundo Rivera-Santos

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

image thumbnail

updated 4 years ago

Image Error Measurements by 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 4 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

NaN Suite by Jan Gläscher

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

nanmax.m

nanmean.m

nanmedian.m

image thumbnail

updated 6 years ago

Genetic Algorithm by 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 almost 6 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 2 months 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 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 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 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 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

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

Unit_Commitment by KATHIM Alrifai

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

image thumbnail

updated 1 month 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 almost 8 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 almost 2 years ago

tridiag.m by Mark Holmes

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

tridiag( a, b, c, f )

image thumbnail

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

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

Speeding Up Optimization Problems with Parallel Computing by Stuart Kozola

Files from the webinar: Speeding up optimization problems with parallel computing (aerospace, automotive, demo)

Electron Problem Optimization

First Order Reliability Method using a Simulink Flutter M...

computebestportfolioPCT(expRet,expCov,portSize,targetRet)

image thumbnail

updated 5 years ago

MatPlanWDM v0.5 by 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 14 years ago

Koch.m by Salman Durrani

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

image thumbnail

updated almost 4 years ago

LSMR: An iterative algorithm for least-squares problems by David

Official successor to the LSQR algorithm, developed by David Fong and Michael Saunders. (matrix, sparse matrix, linear equation)

[x, istop, itn, normr, normAr, normA, condA, normx]...

lsmrtest( m,n,lambda,localSize )

image thumbnail

updated 2 years ago

Cofactor Matrix Generator by Angelica Ochoa

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

cof=cof(a);

image thumbnail

updated 4 years ago

Newton-Raphson Method for 2 variables by Jesus Hernandez

Newton method for non-linear system of 2 variables (also solves linear system) (numerical linear alge..., mathematics, matrix)

newton2v2.m

image thumbnail

updated 2 years ago

Edit Distance Algorithm by Reza Ahmadzadeh

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

EditDistance(string1,string2)

image thumbnail

updated 3 years ago

nancumsum by Brett Shoelson

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

B=nancumsum(A,dim,nmode)

image thumbnail

updated 3 years ago

Example using a MATLAB Class to control a GUI by 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

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

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

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

betaNTF(V,K,varargin)

image thumbnail

updated almost 2 years ago

Gaussian Elimination & Inverse Matrix Finder by Mohammed Al-Mostafa

Gaussian Elimination with pivoting& Inverse Matrix Finder using determinant and Gaussian elimination (matrix, mathematics)

Numerical.m

image thumbnail

updated 5 years ago

Steepest descent method by Bapi Chatterjee

It solves an optimization problem by steepest descent method. (optimization, finance, steepest descent)

steepestdescent.m

image thumbnail

updated 2 years ago

Symmetric eigenvalue decomposition and the SVD by 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 11 years ago

Gamma by Paul Godfrey

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

image thumbnail

updated 2 years ago

Beam Propagation Method for advancing gaussian beam in a profiled medium by 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 4 years ago

image processing-zooming an image using Bilinear interpolation by Dimuthu Senanayaka

Bi linear interpolation method has been used here for zooming images by a positive integer factor. (image processing, mathematics, matrix)

bilinear_zoom(file,fac)

image thumbnail

updated almost 4 years ago

DGradient by Jan Simon

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

DGradient(X, Dim, Spacing, Method)

uTest_DGradient(doSpeed)

image thumbnail

updated 2 years ago

Image Noise Reduction by Local Statistics by Tristan Ursell

Reduce image noise by measuring local pixel statistics and remapping intensities. (image processing, image, noise)

[varargout]=relnoise(Iin,sz,sigma,varargin)

image thumbnail

updated 10 years ago

smooth2 by Kelly Hilands

Smooths the data in a 2D matrix with a user-defined resolution. (approximation, interpolation, 2d)

image thumbnail

updated 4 years ago

image resampling by 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 5 years ago

PET reconstruction system matrix by Munir Ahmad

DLL to generate a PET system matrix for image reconstruction (image processing, matrix, physics)

sys_mat.m

Contact us