image thumbnail

updated 10 months ago

Newton-Raphson solver by Mark Mikofski

Yet another solver that uses the backslash function to solve a set of non-linear equations. (mathematics, optimization, data exploration)

newtonraphson_example

newtonraphson(fun, x0, options)

image thumbnail

updated 26 days ago

geom2d by David Legland

Geometry library for matlab. Performs geometric computations on points, lines, circles, polygons... (color, mathematics, computational geometr...)

Demo Medial Axis

Draw Poisson lines

demoExpandPolygon

image thumbnail

updated 5 years ago

NSGA - II: A multi-objective optimization algorithm by Aravind Seshadri

A function for multi-objective optimization using evolutionary algorithms (genetic algorithm, multiobjective optimi..., nsgaii)

evaluate_objective

function [number_of_objectives, number_of_decision_variab...

function f = genetic_operator(parent_chromosome, M, V, m...

image thumbnail

updated almost 3 years ago

fminsearchbnd, fminsearchcon by John D'Errico

Bound constrained optimization using fminsearch (optimization, fminsearch, constraint)

fminsearchbnd_demo

fminsearchcon_demo

[x,fval,exitflag,output]=fminsearchcon(fun,x0,LB,UB,A,b,n...

image thumbnail

updated 3 years ago

Electricity Load and Price Forecasting Webinar Case Study by Ameya Deoras

Slides and MATLAB® code for the day-ahead system load and price forecasting case study. (electricity, energy trading, model)

Electricity Load Forecasting using Neural Networks

Electricity Price Forecasting with Neural Networks

Load Forecasting using Bagged Regression Trees

image thumbnail

updated 8 months ago

EzyFit 2.42 by Frederic Moisy

A free curve fitting toolbox for Matlab (approximation, interpolation, curve)

Discover Ezyfit: A free curve fitting toolbox for Matlab

about_ef (Ezyfit Toolbox)

axis0 (Ezyfit Toolbox)

image thumbnail

updated 5 months ago

Chebfun V4 by Chebfun Team

Numerical computation with functions instead of numbers. (numerical analysis, interpolation, approximation)

A greedy algorithm for choosing interpolation points

A keyhole contour integral

A parameter dependent ODE with breakpoints

image thumbnail

updated almost 8 years ago

Lagrange Interpolator Polynomial by Dan Ellis

Find the polynomial (defined by its coefficients) passing through a set of points. (approximation, interpolation, lagrange interpolator...)

Lagrange Interpolation Polynomial

lagrangepoly(X,Y,XX)

image thumbnail

updated almost 7 years ago

Efficient subpixel image registration by cross-correlation by Manuel Guizar

Registers two images (2-D rigid translation) within a fraction of a pixel specified by the user. (geometric transformat..., image registration, image)

Efficient subpixel image registration by cross-correlation.

dftregistration(buf1ft,buf2ft,usfac)

image thumbnail

updated 5 years ago

Toolbox Fast Marching by Gabriel Peyre

A toolbox for the computation of the Fast Marching algorithm in 2D and 3D. (differential equation..., fast marching, level set)

Toolbox Fast Marching - A toolbox for Fast Marching and l...

callback_active_contour(x, options)

check_face_vertex(vertex,face, options)

image thumbnail

updated 3 years ago

Optimization Tips and Tricks by John D'Errico

Tips and tricks for use of the optimization toolbox, linear and nonlinear regression. (optimization, examples, tutorial)

optimtips

[x,fval,exitflag,output]=fminsearchbnd(fun,x0,LB,UB,optio...

consolidator(x,y,aggregation_mode,tol)

image thumbnail

updated 16 days ago

Algorithm Development With MATLAB by Sumit Tandon

Toolbox will all necessary files to support the Algorithm Development with MATLAB webinar (data import, image processing, image acquisition)

Find Green Object

Green Object Detection APP

BallDetectionAPP(varargin)

image thumbnail

updated 6 years ago

Tunning of PID controller using Particle Swarm Optimization by wael korani

tunining of PID controller by using PSO (optimization, tuning, pid)

Tunning of PID controller using Particle Swarm Optimization

tracklsq(pid)

optsim1

image thumbnail

updated 6 years ago

boxcount by Frederic Moisy

Fractal dimension using the 'box-counting' method for 1D, 2D and 3D sets (fractals, fractal, dimension)

Computing a fractal dimension with Matlab: 1D, 2D and 3D ...

boxcount(c,varargin)

randcantor(p,n,d,varargin)

image thumbnail

updated 5 years ago

Toolbox image by Gabriel Peyre

A toolbox that contains image processing functions (image analysis, image processing, filtering)

Toolox Image - A Toolbox for General Purpose Image Proces...

apply_colormap(M,col)

callback_atrou(x,dir,options)

image thumbnail

updated 5 years ago

Multi-Objective Optimizaion using Evolutionary Algorithm by Aravind Seshadri

Examples of Multi-Objective Optimization using evolutionary algorithm - NSGA-II (multiobjective optimi..., optimization, nsga ii)

Main Function

Non-Donimation Sort

function f = genetic_operator(parent_chromosome,pro,mu,m...

image thumbnail

updated 1 year ago

PIVMat 3.02 by Frederic Moisy

A PIV Post-processing and data analysis toolbox (data import, data export, piv)

about_pivmat (PIVMat Toolbox)

addnoisef (PIVMat Toolbox)

averf (PIVMat Toolbox)

image thumbnail

updated 4 years ago

Global Optimization with MATLAB by Stuart Kozola

Demo files from the 2010 webinar "Global Optimization with MATLAB Products" (optimization, genetic algorithm, partical swarm)

Global Minimization of 1D Equation

Springboard for Global Optimization Demos

PlotIterates(x,optimValues,state)

image thumbnail

updated 9 months ago

polyfitZero by Mark Mikofski

Fit polynomial to data, forcing y-intercept to zero or arb. value and slope to zero or arb. value (mathematics, modeling, data exploration)

polyfitZero example

polyfitB(x,y,degree,b)

polyfitB0(x,y,degree,b)

image thumbnail

updated 8 years ago

Particle Swarm Optimization Simulation by Wesam Elshamy

an animated simulation of particles searching for the minima of a simple function (optimization, particle swarm optimi..., pso)

Particle Swarm Optimization Simulation

image thumbnail

updated almost 2 years ago

LBFGSB (L-BFGS-B) mex wrapper by Stephen Becker

Mex wrapper for lbfgsb v3.0 fortan library. L-bfgs-b solves box-constrained optimization. (optimization, constrained optimizat..., quasinewton)

Non-negative least-squares (NNLS) using L-BFBS-B

compile_mex

lbfgsb

image thumbnail

updated almost 5 years ago

Animated GIF by Robert Bemis

How to generate an animated GIF from MATLAB (image processing, data export, simulation)

How to make an animated GIF

image thumbnail

updated almost 3 years ago

Multiclass GentleAdaboosting by Sebastien PARIS

A fast Gentle Adaboost classifier with two kind of weaklearners (mathematics, statistics, optimization)

test_gentleboost_model

auroc(tp, fp)

basicroc.m

image thumbnail

updated 1 year ago

Sphere Fit (least squared) by Alan Jennings

Fits a sphere to a set of noisy data. Does not require a wide arc or many points. (least squares, statistics, optimization)

sphereFit_Example

sphereFit(X)

image thumbnail

updated 2 years ago

Fast K-means clustering by Sebastien PARIS

Fast mex K-means clustering algorithm with possibility of K-mean++ initialization. (statistics, image processing, mathematics)

test_yael_kmeans

gene_mvgm(d , K , sig)

mexme_yael_kmeans(options)

image thumbnail

updated 1 year ago

Hiding multiple Text pages into a Color image by Cherma Rajan A

This program can embed/hide maximum of six monochrome Text pages into a Color image without loss. (color, watermarking, text hiding)

HIDING MULTIPLE TEXT PAGES INTO A COLOR IMAGE

altertxt(im_tx1,im_tx2)

extracttxt(im)

image thumbnail

updated 6 years ago

image3 by Anders Brun

Renders a 2-D image in 3-D space using a texture mapped rectangle, with several examples of uses. (image, imagesc, scatter)

demo

box3(vol, I2X, bbox)

image3(im,ij2xyz,handle)

image thumbnail

updated 1 month ago

HPF - a big decimal class by John D'Errico

High precision floating point arithmetic, a new class written in MATLAB (hpf, multiple precision, big decimal)

Demo script for my High Precision Floating point decimal

hpf_regression_testing

DefaultDecimalBase(DBaseNew)

image thumbnail

updated 11 months ago

MATLAB for R Users in Computational Finance by Ameya Deoras

Learn how to use MATLAB and R together to tackle your computational needs (r, rstudio, time series)

Backtest Moving Average RSI Combo Strategy

Optimizing Market Risk using Copula Simulation

blsapp()

image thumbnail

updated 7 hours ago

GIBBON: The Geometry and Image-Based Bioengineering add-On for MATLAB by Kevin Moerman

GIBBON: The Geometry and Image-Based Bioengineering add-On for MATLAB (bioengineering, finite element, meshing)

image thumbnail

updated 8 years ago

Genetic Algorithms Application by Wesam Elshamy

Drawing the largest circle in a space of stars without enclosing any of them using Genetic Algorithm (optimization, ga, genetic algorithms)

Simple EMOO Problem

image thumbnail

updated almost 2 years ago

Numerical Inverse Laplace Transform by Tucker McClure

Numerical approximation of the inverse Laplace transform for use with any function defined in "s". (inverse laplace trans..., laplace, talbot)

Examples of Numerical Approximation of the Inverse Laplac...

euler_inversion(f_s, t, M)

euler_inversion_sym(f_s, t, M, P)

image thumbnail

updated 2 years ago

Simple Tracker by Jean-Yves Tinevez

Simple multiple particle tracker with gap closing. (tracking, image processing, particle linking)

Test script for the Simple Tracker function

hungarianlinker(source, target, max_distance)

munkres(costMat)

image thumbnail

updated 1 month ago

Natural Gas Storage Valuation by Ameya Deoras

Demos and files from the webinar (energy trading, energy risk, commodities)

Import Analyze Natural Gas Futures Options Historical P...

Natural Gas Storage Valuation: 2. Intrinsic Spread-Optio...

Natural Gas Storage Valuation: 3. Model Calibration and V...

image thumbnail

updated 6 years ago

Bacterial Foraging by wael korani

Bacterial foraing is used to find optimal solution (optimization, bacterial foraging, control system)

Bacterial foraging

fposition=Live_fn(x)

image thumbnail

updated almost 3 years ago

Affine optic flow by David Young

Estimates the parameters of an affine (first-order) optic flow model from two images. (optic flow, optical flow, affine)

Affine Optic Flow Demonstration

affine_flowdisplay(flow, im, step, col)

affine_flowedgedisplay(flow, im1, im2)

image thumbnail

updated 9 months ago

Arc-length method by George Papazafeiropoulos

Finds the roots of a function using the arc-length method (arc length method, nonlinear equation, aders)

Arc-length control method (Crisfield, 1981 and Fafard Ma...

Arc-length control method (Lam Morley, 1992)

Arc-length control method (Ritto-Correa Camotim, 2008)

image thumbnail

updated 1 month ago

Regularization Kaczmarz Tools Version 1.1 for Matlab by Andrey Ivanov

Regularization Column version of Kaczmarz algorithmfor solving ill-posed systems (iterative projection ..., incorrect problems, regularized solution)

Convergence of the Quasi-Optimal Kaczmarz algorithm.

Convergence of the regularized form of the Column-Kaczmar...

columnkaczmarz(A,b,K,x0,options)

image thumbnail

updated 4 years ago

Gradient from Neural Network by 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

Demo files for "Algorithm Development with MATLAB" Webinar by Jiro Doke

These are the demo files for "Algorithm Development with MATLAB" Webinar held on April 5, 2011. (algorithm development, image processing, gui)

Find Green Object

BallDetectionGUI(varargin)

ImageGUI(varargin)

image thumbnail

updated 6 months ago

SaivDr Package by Shogo Muramatsu

System object definitions for sparsity-aware image (and volume data) restoration (image processing, nsolt, ista)

Quickstart of SaivDr Package

fcn_ksvdsdiclrn(params)

mytest(testCaseStr)

image thumbnail

updated 5 years ago

Matrix approach to discretization of ODEs and PDEs of arbitrary real order by Igor Podlubny

Functions illustrating matrix approach to discretization of ODEs / PDEs with fractional derivatives. (mathematics, fractional differenti..., differential)

Matrix approach to discretization of ODEs and PDEs of arb...

bagleytorvikequation(A,B,C)

ban(alpha,N,h)

image thumbnail

updated 5 months ago

minimize by Rody Oldenhuis

Minimize constrained functions with FMINSEARCH or FMINLBFGS, globally or locally (optimization, constrained optimizat..., derivativefree optimi...)

image thumbnail

updated 3 months ago

Tabular Expression Toolbox by Colin Eles

A tool for creating tabular expressions in Matlab/Simulink integrating checking with PVS and CVC3. (simulink, formal methods, gui)

Creating a new Tabular Expression

Editing a Tabular Expression

Getting Started

image thumbnail

updated 1 year ago

Region Adjacency Graph (RAG) by David Legland

Computes the graph of adjacent regions in a labeled image (image analysis, rag, image)

demoImRAG

imRAG(img, varargin)

image thumbnail

updated 6 years ago

Tips & Tricks: Getting started using optimization with MATLAB by Stuart Kozola

Demo files from the August 21, 2008 Webinar (optimization, genetic algorithms, simulated annealing)

Optimization Tips Tricks

VEMap(x,RPM,Pratio,VE)

VEPlot(x,optimValues,state)

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

Programa para la resolución del Problema de Transporte Método de la Esquina Noroeste by Guillermo Montoya

Esquina Noroeste Problema de Transporte (optimization, esquina noroeste prob...)

Programa para la resolucin del Problema de Transporte de PL

agregar.m

balancear.m

image thumbnail

updated 3 years ago

MPC Tutorial IV - State Space MPC with input increment by Yi Cao

functions and simulink block implement state space MPC using input increment (control design, optimization, simulink)

State Space MPC with input increment Tutorial

mpcsimulink

f=mpcsetup(A,B,C,D,hP,hM,Q,R,x0,u0)

image thumbnail

updated almost 3 years ago

Inscribed_Rectangle by Jaroslaw Tuszynski

Computer vision functions to locate largest square or rectangle inscribed inside arbitrary shape (image processing)

Tutorial for Inscribed_Rectangle Package

FindLargestRectangles(I, crit, minSize)

FindLargestSquares(I)

Contact us