Refine by Content Type

Refine by Product

Refine by Time Frame

image thumbnail

updated 3 days ago

Lloyd's Algorithm by Aaron Becker

Starts with a point set, repeatedly moves each point to centroid of Voronoi cell. (lloyds algorithm, simulation, robot coverage)

lloydsAlgorithm(Px,Py, crs, numIterations, showPlot)

image thumbnail

updated 9 days ago

LMFnlsq2 by Miroslav Balda

Solution of one or more nonlinear equations in the least squares sense. (nonlinear least squar..., curve fitting, identification)

LMFnlsq2.m

LMFnlsq2test.m

image thumbnail

updated 13 days ago

Hybrid Differential Evolution Algorithm With Adaptive Crossover Mechanism by Gilberto Reynoso-Meza

An EA based on DE with adaptive crossover rate, population refresh and local search. (evolutionary algorith..., differential evolutio..., optimization)

LocalSearch(X,Dat)

CostFunction.m

DE_TCR.m

image thumbnail

updated 14 days ago

polyVal2D and polyFit2D by Mark Mikofski

Evaluate 2D polynomials using Horner's method. Fit 2D polynomials to data using backslash operator. (mathematics, optimization, data exploration)

polyDer2D(p,x,y,n,m)

polyFit2D(f,x,y,n,m)

polyVal2D(p,x,y,n,m)

image thumbnail

updated 18 days ago

Genetic Algorithm to Optimise Schaffer's F6 Function by Dean Kayton

A basic GA with a real-time plotting of evaluation funtion inputs and outputs (ga, f6, genetic algorithm)

[chromoChild]=f6Seed(popSize,method)

[fitness,sel]=f6FitSel(f6EvalFun,popSize)

dec2gc(dec,N)

image thumbnail

updated 21 days ago

Augmented Lagrangian by Mayowa Aregbesola

Augmented Lagrangian methods are a certain class of algorithms for solving constrained optimization. (optimization)

ALH( x, f, g, G, H, Dg, Hg, e, k, eta)

newton_constrained.m

prob1.m

image thumbnail

updated 21 days ago

Metropolis Hastings by Saad Jbabdi

Simple but powerful implementation of the MH algorithm (monte carlo markov ch..., metropolis hastings, bayesian)

mh(varargin)

image thumbnail

updated 1 month ago

Lightning Protection Circuit Design Tool for Avionics by Clay McCreary

This tool performs the calculations to optimize the design of lightning protection circuits (aerospace, gui, optimization)

Lightning_Protection(varargin)

image thumbnail

updated 1 month ago

Loan Calculator by Paul Metcalf

This loan calculator tool performs interest calculations for fixed rate loans. (finance, simulink, optimization)

loan_optimization

image thumbnail

updated 1 month ago

optimal placement f shunt facts devices in a series compensated long transmission line by divya latha

need of block diagram and matlab program with step wise explaination with results (optimization, simulink, simulation)

image thumbnail

updated 1 month ago

Carpet Plot Toolkit by Rob McDonald

A set of routines to make carpet plotting easier. (carpet, contour, knothole)

Cconv=carpetcontourconvert(x1, x2, y, offset, C)

[xc, yc]=carpetconvert(x1, x2, y, offset, x1p, x2p)

carpet(x1, x2, y, offset, nref, linspec1, linspec2, varargi...

image thumbnail

updated 1 month ago

3D Trapezoidal Rule by Mohammed Sadeq Al-Rawi

This program can be used to find any triple integral, even if one has some empirical data. (mathematics, simulation, image processing)

trapezoidal_rule_triple_integral(x, y, z, mat)

image thumbnail

updated 1 month ago

2D trapezoidal rule by Mohammed Sadeq Al-Rawi

Calculates a double integral using trapezoidal rule. (optimization, double integral, signal processing)

trapezoidal_rule_double_integral(x, y, mat)

image thumbnail

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

MAIN

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

plotfval(x,optimValues,state)

image thumbnail

updated 1 month ago

Optimization using Particle Swarm by Swapnil Gaul

Auther : Gaul Swapnil Narhari, Developed @ IIT Kharagpur, India. By - TaraNG,emsolutions,India. (optimization)

init_params()

intialise()

simple_fitness(x)

image thumbnail

updated 2 months ago

frank_wolfe algorithm for order 3 by Yinxiao

frank_wolfe algorithm for order 3 (optimization)

[X,fval,i]=frank_wolfe(f,X0,e,A,b,Aeq,beq,lb,ub)

image thumbnail

updated 2 months ago

Simultaneous Plant and Control Design of an Active Automotive Suspension Using Direct Transcription by James Allison

A toolbox for using Direct Transcription to perform combined plant and control design. (aerospace, automotive, control design)

...

calc_state_constraints(t, xd, xu, stateCon)

calc_zdot(x, z, v)

image thumbnail

updated 3 months ago

minimization of a function by random iterative search by yoash levron

Optimization method: Locates a minimum of a target function. Converges to global optimum. (optimization, minimization, optimal)

b =min_by_random_search_test_func(v)

b =min_by_random_search_test_func2(v)

min_by_random_search( fnc, region )

image thumbnail

updated 3 months ago

Kalman filter simlation with Singer model by Geoffrey Goldman

It displays the estimated and predicted errors and results. (simulation, optimization)

kalman_simulation_singer.m

image thumbnail

updated 3 months ago

Linear regression for multiple category data with different slopes for each by Soumya Banerjee

The function does OLS and RMA regression on data that is categorized into two different categories (communications, optimization, aerospace)

regress_plot_twocategories_allslope

image thumbnail

updated 3 months ago

DirLOT Toolbox by Shogo Muramatsu

MATLAB class definitions for directional lapped orthogonal transforms (boundary operation, system object, genlot)

Quick Start of DirLOT Toolbox

...

...

image thumbnail

updated 3 months ago

The code for solving Wahba's problem by Pieter Reyneke

Code for testing Davenport's (eigen-valued) and Markley's (SVD) solutions to Wahba's problem - 1965 (aerospace, mathematics, optimization)

arrow3D(pos, deltaValues, stemRatio, colorCode)

ccplot3(x,y,z,c,map)

d2e_ypr(dcm, dosymbolic)

image thumbnail

updated 3 months ago

Bright Enchancement by Syapril Ahshar

Matlab files function to brighten files (optimization)

enhancement_bright(img_input)

image thumbnail

updated 3 months ago

An Approximation Solution for the Prize-Collecting Steiner Tree Problem by Fangzhou Chen

A function giving feasible(not optimal) solutions to the Prize-Collecting Steiner Tree Problem (algorithm, optimization, combinatorics)

FindTree(G, vp)

PCSTr(G, vp, r)

image thumbnail

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

Expectation Maximization 1D Tracking Demo by Andrew Stachyra

Demos use of expectation maximization algorithm to solve simplified one dimensional tracking problem (expectation maximizat..., unsupervised learning, machine learning)

cov2ellps(ctrd, cov, varargin)

lineexpmax(time, data, measvar, klim,...

polynomfit(x,y,yerr,ncoeff)

image thumbnail

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

Binary Particle Swarm optimization by mojtaba

This is a sample source code for my paper namely: "A novel binary particle swarm optimization". (optimization)

y=mybin2dec(x)

y=testfunction1(x);

test3.m

image thumbnail

updated 4 months ago

AMPL data file toolbox by Arthur Richards

Writing Matlab data to AMPL data files (data export, optimization)

count=AMPLcomment(fid,st)

count=AMPLmatrix(fid,pname,p,varargin)

count=AMPLmatrixint(fid,pname,p)

image thumbnail

updated 4 months ago

MIMO-Diofantine solver by davood shaghaghi

This function solve MIMO-Diofantine equation. (control design, optimization, simulation)

mimodioph(A,B,N)

image thumbnail

updated 4 months ago

GMM-HMRF by Quan Wang

GMM-Based Hidden Markov Random Field for Color Image and 3D Volume Segmentation (image processing, optimization, pattern recognition)

BoundMirrorExpand(A)

BoundMirrorShrink(A)

GMM=get_GMM(X,Y,g)

image thumbnail

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

Optimal Control Using Control Vector Parameterization

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

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

image thumbnail

updated 4 months ago

Lithium Battery Model, Simscape Language and Simulink Design Optimization by Robyn Jackey

Multi-temperature lithium battery model using Simscape language and Simulink Design Optimization (lithium, battery, demo)

plot_estim_results.m

plot_estim_results.m

plot_estim_results.m

image thumbnail

updated 4 months ago

Analyzing Investment Strategies with CVaR Portfolio Optimization by Bob Taylor

Scripts and data to demonstrate the new PortfolioCVaR object in Financial Toolbox. (finance, portfolio, optimization)

covered_engine(X, T, mu, sigma, ...

gbm_calibration(t0, X, t)

gbm_call_price(X0, K, r0, T, sigma)

image thumbnail

updated 5 months ago

Normalized Normal Constraint (NNC) algorithm for multi-objective optimization by Gilberto Reynoso-Meza

This code implements a NNC algorithm for multi-objective optimization. (optimization, multiobjective optimi..., nnc algorithm)

CostFunction.m

NNC.m

NNCparam.m

image thumbnail

updated 5 months ago

Sutton's Mountain Car Problem with Value Iteration by Auralius Manurung

Implementation of Sutton's mountain car problem using value iteration. (mountain car, value iteration, optimization)

mountainCarSim(p, v, u)

mountainCarValIter ...

snapToGrid(val, minVal, maxVal, gridSize)

image thumbnail

updated 5 months ago

Jordan Recurrent Neural Network for Data Classification Algorithm by Arnav Goel

Development of Data Classification Algorithm of randomized sequences using Jordan RNN (neural networks, simulation, mathematics)

newjor(varargin)

image thumbnail

updated 5 months ago

Jordan Recurrent Neural Network by Arnav Goel

Create an Jordan backpropagation network (neural network, jordan rnn, elman rnn)

newjor(varargin)

image thumbnail

updated 5 months ago

Genetic Packman by Hanan Kavitz

A simple demonstration of Genetic Algorithm using all times favorite game. (optimization, global optimization, genetic algorithm)

[x,fval,exitFlag]=geneticPackman(cubeSize,numOfMoves,packma...

mutate_permutation(parents ,options,NVARS, ...

val=greedyPackman(field,numOfSteps)

image thumbnail

updated 5 months ago

Files for the 2012 Webinar "Tips and Tricks - Getting Started Using Optimization with MATLAB" by Seth DeLand

These are the files that were used for the demonstrations in the webinar. (fmincon, globalsearch, optimization)

RunThermistorExample()

ThOptimPlotCircuit(options,state,flag,Tdata,VData,Res,ThVal...

VEMap(x)

image thumbnail

updated 5 months ago

SwarmBat - The Artificial Bat Algorithm (ABA) by Leo Chen

SwarmBat - The Artificial Bat Algorithm (ABA) (aerospace, automotive, swarm algorithm)

SGA_FITNESS_function(x,y)

SwarmBat_demo_SO_std.m

image thumbnail

updated 5 months ago

Matrix Decomposition by Aleksander

Positive definite correlation matrix based on spectral decomposition. Now both for .m, C and Mex (spectral decompositio..., cholesky decompositio..., correlation matrix)

SpectralDP(Correlation)

image thumbnail

updated 6 months ago

CELP codec by 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 6 months ago

New ODE and DAE Solver by John Hedengren

Differential and algebraic equation solver for high-index, stiff, and mixed-integer systems. (optimization, simulation, demo)

apm(server,app,aline)

apm_get(server,app,filename)

apm_info(server,app,class,name)

image thumbnail

updated 6 months ago

Basic Genetic Algorithm by Xavier Blasco

An easy to use Genetic Algorithm (genetic algorithm cpo..., cpoh, genetic algorithm)

gaiteracion(gaDat)

garesults(gaDat)

valor=objfun_schwefel_p(x,param)

image thumbnail

updated 6 months ago

Linear regression with statistics for multiple category data by Soumya Banerjee

This function does linear regression with statistics for multiple category data (OLS and RMA) (aerospace, automotive, biotech)

regress_plot_twocategories

image thumbnail

updated 6 months ago

Multi-Objective Optimization Differential Evolution Algorithm by Gilberto Reynoso-Meza

Runs a basic Differential Evolution (DE) algorithm for multi-objective optimization. (optimization, multiobjective optimi..., multiobjective evolut...)

CostFunction.m

MODE.m

MODEparam.m

image thumbnail

updated 6 months ago

Image reconstruction by Hanan Kavitz

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

imageBuilding

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

mygaplotbestf(options,state,flag)

image thumbnail

updated 6 months ago

An Algorithm Based on Gaussian Process Regression Model for the Traveling Salesman Problem by Wanatchapong Kongkaew

File contains readme and instruction, TSP instances, and NN_GPR_Iterated_2opt algorithm. (optimization, traveling salesman pr..., gaussian process regr...)

Iterated_2_opt(path, distances, path_distance)

Solve_TSP_GPR(d, opt)

TSP_GPR(Instance_name)

image thumbnail

updated 6 months ago

GPU Implementation for GVF Force Field by Quan Wang

We implement the GVF force field on GeForce GPU using CUDA. (image processing, optimization, signal processing)

info =mha_read_header(filename)

mha_read_volume(info)

Contact us