Refine by Content Type

Refine by Product

Refine by Time Frame

image thumbnail

updated 7 hours 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. (fitting curves, sphere, least squares)

sphereFit_Example

sphereFit(X)

image thumbnail

updated 7 hours ago

Easy Sensitivity (Tornado) Plot Function by Richard McCulloch

This function makes a tornado sensitivity plot and returns the sensitivity values. (aerospace, biotech, data export)

TorPlot(data,names,sensitivity,save,fh)

image thumbnail

updated 8 hours ago

Enhanced Binary Particle Swarm Optimization (BPSO) with 6 new transfer functions by Seyedali Mirjalili

An Enhanced binary Particle Swarm Optimization algorithm (VPSO) with v-shaped transfer functions (particle swarm optimi..., pso, binary particle swarm...)

DrawConvergenceCurves(p,Max_iteration)

MyCost(x)

[gBest,gBestScore,ConvergenceCurve]=BPSO(noP,Max_iteration,...

image thumbnail

updated 1 day ago

Improved Feedforward Neural Networks Using PSOGSA by Seyedali Mirjalili

This program is an improved Feedforward Neural Network using a hybrid algorithm called PSOGSA. (optimization, particle swarm optimi..., pso)

o=My_FNN(Ino,Hno,Ono,W,B,x1,x2,x3,x4)

output=My_sigmoid(x)

FNNGSA.m

image thumbnail

updated 6 days 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 7 days ago

Stochastic Simultaneous Optimistic Optimization by Michal Valko

Black box stochastic function optimization without the knowledge of function's smoothness. (optimization, smoothness, stochastic)

draw_function(x_min,x_max,f,output)

draw_partition_tree(t,settings)

example_simple.m

image thumbnail

updated 8 days ago

MIMO-Diophantine solver by davood shaghaghi

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

mimodioph(A,B,N)

image thumbnail

updated 14 days ago

Efficient Multidimensional Scaling (MDS) by Quan Wang

The is the source code of iterated Levenberg-Marquardt algorithm (ILMA) for solving MDS (mathematics, optimization, pattern recognition)

CM=confusion_matrix_reorder(CM)

[X, total_cost]=MDS_training(Dist,d,iter,strategy,display_f...

[X2]=MDS_encoding(X1,Dist,display_flag)

image thumbnail

updated 1 month ago

MPC Matrices by Pantelis Sopasakis

Computes the matrices needed to formulate an economic MPC problem for a distributed water network. (mpc, economic mpc, scheduling)

mpc_matrices(S, P, x, D, k, ops)

image thumbnail

updated 1 month ago

Uniform Sampling of a Sphere by Anton Semechko

Create an approximately uniform triangular tessellation of a unit sphere (thomson problem, particle system, uniform sampling of a...)

TR=IcosahedronMesh

TR=SubdivideSphericalMesh(TR,k)

TR=TriQuad(TR)

image thumbnail

updated 1 month ago

Comparison of Alamouti & MRC Schemes over Rayleigh Channel by Sourav Mondal

This code gives a relative comparison of performance of Alamouti & MRC schemes over Rayleigh channel (communications, control design, data export)

alamouti_new(M, frmLen, numPackets, EbNo)

mrc_new(M, frmLen, numPackets, EbNo)

alamouti_mrc_RUN_new.m

image thumbnail

updated 1 month ago

Truss Design Optimization Based on Generative Algorithms by James Allison

Supplementary material for a WCSMO publication regarding truss design optimization. (structural design, aerospace, automotive)

D=TrussData(Coord, Con)

GAcon(x)

JacobianStresscal(D, Area)

image thumbnail

updated 1 month ago

TransposeMat - like transpose, but handles N-D arrays by Chad Webb

Transposes the rows/columns (only) on any N-dimensional array (simulation, optimization, earth science)

TransposeMat(in)

image thumbnail

updated 1 month ago

Drive the induction motor with minimum losses by KATHIM Alrifai

Loss Minimization in Induction Motor Drives Using Genetic Algorithms (control design, optimization, mathematics)

Drive The Induction motor with Minimum Losses

image thumbnail

updated 1 month ago

MPCC Solution of Genetic Regulatory Circuit Design Problems by James Allison

Demonstration of a novel MPCC-based technique for solving gene circuit design problems. (optimization, simulation, biotech)

MPCC_con()

constraint(xd,p)

master_genecircuit()

image thumbnail

updated 1 month ago

Particle Swarm Optimization by Yan Ou

[x,fval] = pso(fun,np,A,b); % fun: function handle % np: number of particles % A, b: Ax<=b (optimization, nonconvex optimizatio..., mathematics)

pso(fun,np,A,b,inertia,correction_factor,iteration)

image thumbnail

updated 1 month ago

SSO (Simplified Swarm Optimization) algorithm by Jiing Deng

SSO algorithm simple example (sso, demo, optimization)

sso_simple()

image thumbnail

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

Bright Enchancement by Syapril Ahshar

Matlab files function to brighten files (optimization)

enhancement_bright(img_input)

image thumbnail

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

Contact us