image thumbnail

updated 2 days ago

minimize by Rody Oldenhuis

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

image thumbnail

updated 16 days ago

Chebfun V4 by Chebfun Team

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

absTest

ad_basic

A greedy algorithm for choosing interpolation points

image thumbnail

updated 1 month 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)

TTdiag(varargin)

TableBlock.delete_recursive( line_handle )

TableBlock.set_block_display(block_handle,checked)

image thumbnail

updated 1 month ago

odehybrid by Tucker McClure

Simulation engine for hybrid continuous- and discrete-time systems (simulation, ordinary differential..., difference equations)

example_odehybrid_eventfcn(t, x, p, v)

example_odehybrid_logging()

example_odehybrid_outputfcn(t, x, p, v, flag)

image thumbnail

updated 1 month ago

SaivDr Package by Shogo Muramatsu

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

fcn_ksvdsdiclrn(params)

Quickstart of SaivDr Package

mytest(testCaseStr)

image thumbnail

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

Fractional differentiation and integration by George Papazafeiropoulos

The n-th order derivative or integral of a function is calculated through Fourier series expansion. (gauss, legendre, fractional)

[an,bn]=fourier(f,a,b,numFourier,numGauss)

diffintF=fourier_diffint(f,x,deg,numFourier,numGauss)

Cubic polynomial differintegral

image thumbnail

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

[R,Q,K]=function1(t)

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

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

image thumbnail

updated 5 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 5 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 6 months ago

Regularization Kaczmarz Tools Version 1.0 for Matlab by Andrey Ivanov

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

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

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

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

image thumbnail

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

blsbtyval(SpotPrice, StrikePrice, RiskFreeRate, ...

blsmaincall2(Request)

Backtest Moving Average RSI Combo Strategy

image thumbnail

updated 8 months 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

DefaultDecimalBase(DBaseNew)

DefaultNumberOfDigits(NDig,varargin)

image thumbnail

updated 10 months ago

DirLOT Toolbox by Shogo Muramatsu

MATLAB class definitions for directional lapped orthogonal transforms (optimization, image processing, genlot)

...

...

...

image thumbnail

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

altertxt(im_tx1,im_tx2)

extracttxt(im)

HIDING MULTIPLE TEXT PAGES INTO A COLOR IMAGE

image thumbnail

updated 12 months ago

NumSim toolbox by Mathieu Gendron

Multiphysic boundary value problems, interpolation, meshless, points generation, simulation (multiphysics, boundary value proble..., interpolation)

...

Check_filename_path_and_VarName(cplt_filename,Automatic_A...

Check_inputs_NumSim(var,FieldNames_NumSim,Filenames,...

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

Algorithm Development with MATLAB by Sumit Tandon

Demo files to go with recorded webinar. (data import, gui, image processing)

BallDetectionGUI(varargin)

ImageGUI(varargin)

Find Green Object

image thumbnail

updated 1 year ago

Spline2D or Piecewise Continuous 2D Polynomials by Mark Mikofski

Fit a 2D function with piecewise continuous polynomials (data exploration, interpolation, mathematics)

examples

splineFit2D(f,x,y,n,m,xb,yb,continuity,ngrid)

splineVal2D(pp,x,y,n,m,xb,yb)

image thumbnail

updated 1 year ago

Determination of the minimum distance between two SuperEllipsoids surfaces. Using Optimization by Ricardo Portal

Optimization method to determine the minimum distance (or max overlap) between two SuperEllipsoids? (contact detection, collision detection, proximity query)

constraints.m

hn=arrow3(p1,p2,s,w,h,ip,alpha,beta)

MAIN

image thumbnail

updated 1 year 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)

compile_mex

driver1(x)

fminunc_wrapper(x,F,G,H)

image thumbnail

updated 1 year ago

Optimal Inverse Function Creation by Alan Jennings

Creates continuous, optimal inverse-functions: given a desired output, finds the optimal input (inverse, optimization, multidimensional)

InvFun_Test

InvFuntions=InvFun(Pop_I,ProbStrut)

image thumbnail

updated 1 year 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)

euler_inversion(f_s, t, M)

euler_inversion_sym(f_s, t, M, P)

talbot_inversion(f_s, t, M)

image thumbnail

updated 1 year ago

Optimal Control Using Control Vector Parameterization by Chang Duan

An example of using control vector parameterization to solve an optimal control problem (optimal control, direct sequential met..., control vector parame...)

[topt,xopt,uopt,thetaopt]=plotopt1( x0,N,ts,dvarO,beta,rh...

[topt,xopt,uopt,thetaopt]=plotopt2( x0,N,ts,dvarO,beta,rh...

Optimal Control Using Control Vector Parameterization

image thumbnail

updated 1 year ago

Fast K-means clustering by Sebastien PARIS

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

gene_mvgm(d , K , sig)

test_yael_kmeans

mexme_yael_kmeans(options)

image thumbnail

updated 1 year ago

Image reconstruction by Hanan Kavitz

The purpose of this demo is to reconstruct a simple picture of several polygons. (genetic algorithm, global optimization, image reconstruction)

[state,options,optchanged]=drawBestSolution(options,state...

pop=create_func(NVARS,~,options)

imageBuilding

image thumbnail

updated almost 2 years ago

Parallel Computing test (Ordinary Differential Equation) by Bogumila & Zbigniew MROZEK

Describes how to use Parallel Computing Toolbox to speed up computing with multi core computer. (demo, mathematics, parallel computing)

m9911

m9912

ode1000.m

image thumbnail

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

Inverse Optimal Functions for Motoman HP-3 Tip Precision by Alan Jennings

A population based optimization increases pointing precision for a planar robotic arm. (robotics, inverse, inverse kinematics)

Clusters=ClusterGenerate_4(TestPoint,J,J_Grad,Y_Grad,Opti...

Delta_X=PSO_OptFun_CostDescent_Armijo_1(Particles,Options)

[NewPoint,New_J,Delta_X,Adjusted]=ArmijoStep_1(TestPointA...

image thumbnail

updated 2 years ago

A Graphical User Interface for Solving Delay Differential Equations and doing Local Search by Soumya Banerjee

A GUI for solving a set of delay differential equations (DDEs) and local search for best solutions (biotech, data export, data import)

...

dde_auto_fit

ddecall_tcl(target,infected1,infected2,...

image thumbnail

updated 2 years ago

Image chamfer distances and geodesic diameter by David Legland

Propagates geodesic distances in binary images, and compute geodesic diameter (image, distance, geodesic)

chamferDistanceError(weights, varargin)

demoImGeodesicPath

geodesicLength(img, varargin)

image thumbnail

updated 2 years ago

How Computer Models Help Break Records? by Coorous Mohtadi

Article on use of MATLAB to build a simplified model of the BLOODHOUND Super Sonic Car. (bloodhound, aerospace, automotive)

How Do Computer Models Help Break Records?

[dv]=BloodhoundEQ(t,v)

Bloodhound

image thumbnail

updated 2 years ago

Monte Carlo Markov Chain for inferring parameters for an Ordinary Differential Equation model by Soumya Banerjee

This function uses a Monte Carlo Markov Chain algorithm to infer parameters for an ODE model (biotech, data export, data import)

analyze_mcmc(parallel)

mcmc_ode

test_gamma()

image thumbnail

updated 2 years ago

Free Split and Merge Expectation Maximization for MultiVariate Gaussian Mixture by Sebastien PARIS

FSMEM can estimate MVGM parameters and number of conpounds via split/merge cluster moves (mathematics, optimization, signal processing)

gene_mvgm(d , K , sig)

test_fsmem_mvgm

init_mvgm(Z , K)

image thumbnail

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

Inscribed_Rectangle by Jaroslaw Tuszynski

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

FindLargestRectangles(I, crit, minSize)

FindLargestSquares(I)

Tutorial for Inscribed_Rectangle Package

image thumbnail

updated 2 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_flowdisplay(flow, im, step, col)

affine_flowedgedisplay(flow, im1, im2)

Affine Optic Flow Demonstration

image thumbnail

updated 2 years ago

flattenMaskOverlay by Jiro Doke

Create a flattened image with an overlayed mask, with specified color and opacity (transparency). (image processing, mask, overlay)

flattenMaskOverlay(img, mask, varargin)

Example: flattenMaskOverlay

image thumbnail

updated 2 years ago

Multiclass GentleAdaboosting by Sebastien PARIS

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

auroc(tp, fp)

basicroc.m

test_gentleboost_model

image thumbnail

updated 2 years ago

Muscle fascicle tracking - Ultrasound by Glen Lichtwark

Implementation of an optical flow algorithm to track muscle length changes imaged with ultrasound. (ultrasound, muscle, image processing)

[p1,p2]=rbline(varargin)

affine_flowdisplay(flow, im, step, col)

affine_flowedgedisplay(flow, im1, im2)

image thumbnail

updated 2 years ago

Graphical User Interface for Solving Ordinary Differential Equations by Soumya Banerjee

This function solves a special set of ordinary differential equations with a GUI (biotech, gui, simulation)

odesolver_outline

odecall_eclipse_tcl_jv_local(target,infected1,...

image thumbnail

updated almost 3 years ago

im2html.m by Steve Eddins

Convert image pixels to HTML table showing pixel colors and values (image processing)

im2html(varargin)

im2html Examples

se.utils.rgbToHtmlHex(rgb)

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

Padé approximant by Luigi Sanguigno

PADE gives the Padé approximant of order [N/M] to the function F about the point Xo. (mathematics)

PADE APPROXIMATING RATIONAL FORM

pade.m

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)

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

consolidator(x,y,aggregation_mode,tol)

expfitfun3(coef,xdata,ydata)

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)

createHolidayDates(startDate, endDate)

Electricity Load Forecasting using Neural Networks

dynamicDateTicks(axH, link)

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)

ImageGUI(varargin)

Find Green Object

BallDetectionGUI(varargin)

image thumbnail

updated 3 years ago

pmap - Parameter Space Stability Mapping Suite by Michael Knap

Finds the Hurwitz stability region in a parameter space of a continuous time system. (control design, mathematics, data exploration)

Stable=pmap_calc(varargin)

pmap(varargin)

pmap_generate(spoly, varargin)

Contact us