image thumbnail

updated 1 day ago

conversionMatrix2Quaternion by Marco Borges

Function to convert Rotation Matrix to Quaternion (quaternion, euler, rotation)

conversionMatrix2Quaternion(M, varargin)

image thumbnail

updated 4 days ago

Fast AUC calculator and ROC curve plotter by Uri Shalit

Calculates the Area Under the ROC curve, and plots the ROC curve. Completely vectorized, very fast. (optimization, statistics, auc)

fastAUC(labels,scores,plot_flag)

image thumbnail

updated 10 days ago

MATLAB for R Users in Computational Finance by Ameya Deoras

Demos from the webinar (r, rstudio, time series)

Backtest Moving Average RSI Combo Strategy

Optimizing Market Risk using Copula Simulation

blsapp()

image thumbnail

updated 11 days ago

Logistic Regression with regularization used to classify hand written digits by Jason Rebello

Classification of handwritten digits (modeling, statistics, optimization)

LRClassifier(X, y, numLabels, lambda)

cost(theta, X, y, lambda)

displayData(X, example_width)

image thumbnail

updated 11 days ago

A MATLAB Script for Optimal Single Impulse De-orbit from Earth Orbits by David Eagle

optimal impulsive maneuver required to de-orbit a spacecraft in a circular or elliptical Earth orbit (aerospace, mathematics, optimization)

atan3 (a, b)

deltav_guess(oev1, alttar, fpatar)

deorbit_shoot(x)

image thumbnail

updated 18 days ago

Hydraulic Valve Parameters From Data Sheets and Experimental Data by Steve Miller

Models and white paper on obtaining realistic parameter values from data sheets and measured data. (data sheet, optimization, valve)

...

...

...

image thumbnail

updated 18 days ago

Dual Clutch Transmission Model in Simulink by Steve Miller

Model of a dual-clutch transmission with MATLAB scripts for optimizing the shift schedule. (dual clutch, transmission, control)

image thumbnail

updated 23 days ago

Unit_Commitment by KATHIM Alrifai

Optimal Loading for a Power Station (Unit Commitment) (optimization, measurement, control design)

image thumbnail

updated 24 days ago

Radiation Treatment Planning Optimization Toy Example by Haitham Hindi

This program is a stand-alone toy example of radiation treatment planning(RTP) optimization (optimization, distributed, biotech)

Main()

image thumbnail

updated 25 days ago

solving Diophantine equation by davood shaghaghi

This function is written to solve Diopantine equation.this equation should be in the form of C = A*F (control design, optimization, simulation)

dioph_SISO(A,C,n)

image thumbnail

updated 25 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 1 month 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 1 month 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 1 month 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_iteratio...

image thumbnail

updated 1 month ago

quad3 by Marco Borges

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

quad3(X,Y)

image thumbnail

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

MIMO-Diophantine solver by davood shaghaghi

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

mimodioph(A,B,N)

image thumbnail

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

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

image thumbnail

updated 1 month 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, historicalF...

image thumbnail

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

Negative Binomial Regression by Surojit Biswas

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

nbreg( x, y, varargin )

image thumbnail

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

Drive the induction motor with minimum losses by KATHIM Alrifai

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

image thumbnail

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

SSO (Simplified Swarm Optimization) algorithm by Jiing Deng

SSO algorithm simple example (sso, demo, optimization)

sso_simple()

image thumbnail

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

Contact us