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 7 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 8 hours ago

quad3 by Marco Borges

Evaluates cubic polynomial numerical integration (numerical integration, mathematics, interpolation)

quad3(X,Y)

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

Aerospace Trajectory Optimization Using Direct Transciption and Collocation by David Eagle

Demonstrates the solution of an aerospace trajectory optimization problem. (aerospace, optimization)

cgl(np, a, b)

defect_trap(tk, tkp1, xk, xkp1, uk, ukp1)

dto_guess(ti, tf, xi, xf, ngrid)

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 14 days ago

Monte Carlo example of the Multi-Factor coupled Commodity Forward curves Simulator by Ahmos Sansom

Implementation of the Multi-Factor multi commodity forward curve simulator (finance, mathematics, optimization)

GetCov(x, y)

LnTestofSims(mySims, LastFC, volFN, Factors)

MultiFactorForwardCurveSimulator(nSims, Seed, historicalFor...

image thumbnail

updated 15 days ago

Another Particle Swarm Toolbox by Sam

Implementation of a PSO algorithm with the same syntax as the Genetic Algorithm Toolbox. (global optimization, particle swarm, pso)

...

...

...

image thumbnail

updated 15 days ago

Airfoil generation using CST parameterization method by Pramudita Satria Palar

Generates an airfoil shape using CST method (aerospace, optimization, aerodynamics)

CST_airfoil(wl,wu,dz,N);

image thumbnail

updated 18 days ago

Model Predictive Control of Multi-Input, Multi-Output (MIMO) systems by Pooya Rezaei

Quadratic Programming is used to simulate Model Predictive Control of MIMO systems (optimization, control design, model predictive cont...)

Addnoise(sig,order,noise_percent)

MPC_calculation(x0,yref,uref,MPC_case)

MPC_calculation_delta_u(x0,yref_Np,MPC_case)

image thumbnail

updated 25 days ago

SwarmFireFly - The Firefly Swarm Algorithm (FFSA) by Leo Chen

SwarmFireFly - The Firefly Swarm Algorithm (FFSA) (optimization, firefly, swarm algorithm)

SGA_FITNESS_function.m

SwarmFF_demo_MO_NSGAII.m

SwarmFF_demo_SO_std.m

image thumbnail

updated 26 days ago

Maximum(minimum) Weight Spanning Tree ( Directed ) by Guangdi Li

For learning "Directed Maximum Spanning Tree", Chu-Liu/Edmonds Algorithm is implemented here. (spanning tree, learning algorithm, data mining)

DirectedMaximumSpanningTree( OriginalCostMatric,Root )

DirectedMinimalSpanningTree( OriginalCostMatric,Root )

MaximalDirectedMSF( CostMatric )

image thumbnail

updated 28 days ago

Automotive Electrical System Simulation and Control by Robyn Jackey

A conventional vehicle electrical system model with alternator, battery, loads, and idle control. (battery, alternator, automotive)

ssc_battery_management_R2012b_ini.m

ssc_lead_acid_battery_50Ah_ini.m

ssc_lead_acid_battery_50Ah_ini.m

image thumbnail

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

Leveldiagrams for multiobjective decision making by Xavier Blasco

A tool to draw Leveldiagrams for Pareto Set/Front, allowing some basics graphics manipulations. (multiobjective optimi..., decision making, pareto front)

[c,lg]=paretopoint5(lg,figura)

layeraxis5(lg,range)

lg=classbycondition5(lg,cond)

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

Benchmark Problem 02 - Matlab Code by Yogananda Jeppu

This is the Matlab code for the model Benchmark Problem 02. (verification and vali..., aircraft control laws, simulink blocks)

Mutant1.m

Mutant2.m

Original.m

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

Negative Binomial Regression by Surojit Biswas

NB2 Negative-Binomial regression. (statistics, mathematics, optimization)

nbreg( x, y, varargin )

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

CORE: Conceptual Optimization of Rotorcraft Environment by Sky Sartorius

Facilitates optimization and design space exploration in the conceptual design phase of rotorcraft. (helicopter, aerospace, rotorcraft)

...

...

...

image thumbnail

updated 1 month ago

IMComp-Image Compression Software by Saurabh Aggarwal

IMComp is an Image Compression tool useful for compressing digital JPG images. (image processing, signal processing, optimization)

IMComp(varargin)

imagecompression.m

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

Differential Evolution by Markus Buehren

Optimization using the evolutionary algorithm of Differential Evolution. (differential evolutio..., optimization, evolutionary algorith...)

chompsep(str)

computenewpopulation(pop, bestmem, params)

concatpath(varargin)

image thumbnail

updated 1 month ago

Fast Kernel Density Estimator (Multivariate) by Matej Kristan

A very fast multivariate bandwidth calculation for KDE that can even be calculated from a GMM. (kernel density estima..., gaussian mixture mode..., bandwidth)

applyForScaleTransformToPdf( pdf0, Mu, T )

applyInvScaleTransformToPdf( pdf0, Mu, T )

checkcompiledBWestimator()

image thumbnail

updated 2 months ago

One Rank Cuckoo Search (ORCS) algorithm by Ahmed Tawfik

An improved cuckoo search optimization algorithm. Well competent and easy to use. (algorithms, cuckoo search, evolutionary algorith...)

...

Ackley(x)

Griewank(x)

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

ev-MOGA Multiobjective Evolutionary Algorithm by Juan M. Herrero

This toolbox implements the ev-MOGA Multiobjective Evolutionary Algorithm. (cpoh, evolutionary algorith..., multiobjective optimi...)

Actualizar_P(x,coste_f)

Archivar(x,coste_f,box_f)

CrtpReal()

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

Table Breakpoint Optimization by Tucker McClure

A set of tools for finding the best way to reduce the size of a table. (optimization, breakpoints, tables)

Table Optimizer

find_best_table_1d(x_0, z_0, ...

find_best_table_1de(...

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

Generate points from given conic (A,B,C,D,E,F) by Juan

generate points from ellipse, hyperbola, circles, etc. (mathematics, conics, ellipse)

points_from_conic(A,B,C,D,E,F, domain,number_points, noise_...

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

UD Factorization & Kalman Filtering by Gerard Van Willigenburg

UD and LD factorization of nonnegative matrices and associated Kalman filter implementations. (ldl factorization, control design, kalman filter)

[P,K,xhat]=kmfmu(c,w,P,xhat,y)

[P,xhat]=kmftu(Phi,V,P,xhat,Gam,u)

[l,d]=ld2ld(ld)

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

LAPJV - Jonker-Volgenant Algorithm for Linear Assignment Problem V3.0 by Yi Cao

A Matlab implementation of the Jonker-Volgenant algorithm solving LAPs. (optimization, hungarian algorithm, linear assignment pro...)

lapjv(costMat,resolution)

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

Harmony Search Algorithm by sajjad yazdani

Harmony Search Algorithm is a heuristic method for global optimization. (heuristic search, optimization)

HS.m

image thumbnail

updated 3 months ago

Broadcast_LP by Kaushik Das

This is a code of "Broadcast Control Mechanisms for three agent". (aerospace, communications, control design)

Broadcast_LP.m

Contact us