Refine by Content Type

Refine by Product

Refine by Time Frame

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

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

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

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

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

Filter Bank Design by Iman

This function can be used to design uniform and non-uniform filter banks. (filter bank, nonuniform filter ban..., uniform filter bank)

A=A_gerenator(x,Beta,Sigma_dictionary,M)

Beta=Beta_dictionary(M,nk)

M=Find_LCM(x)

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

Using Analytical Tools to Gain Insight and Speed-up Num. Analysis in MATLAB & Symbolic Math Toolbox by Deepak

files from the webinar (symbolic, eigenvalues, poles)

JetThrust(t)

Mass(time, rocketStartTime, engineOffTime)

aerodynamicDrag(v)

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)

image thumbnail

updated 7 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 7 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, gradient, patternsearch)

RunThermistorExample()

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

VEMap(x)

image thumbnail

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

Dig_Filter by Iman

This toolbox can be used to design a filter which satisfies prescribed specifications. (communication, digital filter, optimization)

Dig_Filter.m

N=N_Dig_Filter(wa,wp,eps_p,eps_a)

[a1 a2 b1 b2]=random_stable_initial_points

image thumbnail

updated 9 months ago

Uniform Filter Bank by Iman

This function can be used to design a uniform filter bank with M subbands. (optimization, signal processing, uniform filter bank)

P=P_NPR(M,m,m1)

PR_Nguyen.m

[c,ceq]=confun(h)

image thumbnail

updated 10 months ago

Co-Blade: Software for Analysis and Design of Composite Blades by Danny Sale

Analysis and design of composite blades for wind and hydrokinetic turbines (wind turbine, composite blade, hydrokinetic turbine)

...

...

...

image thumbnail

updated 11 months ago

SCOPE: interactively tabulate SEER excel variables by Rex Cheung

This takes SEER excel column data interactively, tabulate them, write back in table format. (data import, data export, optimization)

output=xls2tabulate2xls(xlsfilename)

image thumbnail

updated 11 months ago

Unbounded Resolution for Function Approximation by Alan Jennings

A continuous function is optimized for varying outputs and increasing parameterization dimension (functional, optimization, interpolation)

[Cost_out,CostGrad]=CostFunc_lwr_8(Pnt,Opt)

[Out_out,OutGrad]=OutputFunc_lwr_8(Pnt,Opt)

[PointsOut]=Fmin_ConditionNum(CovIn,N,Opt)

image thumbnail

updated 1 year ago

Demo: Finding an Optimal Path Using MATLAB and Optimization Toolbox by Teja Muppirala

Solve the path planning problem of going through a vector field of wind in the least possible time. (path planning, flight path, gui)

PathOptimizationDemo.m

WayPoints_To_Path(p,METHOD,sizeX,sizeY,fineness)

calculateTimeIntermediate(x,W_x,W_y,x0,y0,AirSpeed,sizeX,si...

image thumbnail

updated 1 year ago

Optimization in MATLAB: An Introduction to Quadratic Programming by Seth DeLand

Files used in "An Introduction to Quadratic Programming" Webinar (fmincon, nonlinear programming, nonlinear optimizatio...)

Hess(in1)

calculateValue(s0,price,inFlow,turbFlow,spillFlow,C2A,n)

createPlots(turbFlow,spillFlow,inFlow,price,s0,C2A,n)

image thumbnail

updated 1 year ago

Optimal Component Selection Using the Mixed-Integer Genetic Algorithm by Seth DeLand

Use the mixed-integer genetic algorithm to solve an engineering design problem. (genetic algorithm, mixed integer, optimization)

ThOptimPlot(options,state,flag,Tdata,VData,Res,ThVal,ThBeta...

objectiveFunction(x,StdRes, StdTherm_Val, StdTherm_Beta,Tda...

tempCompCurve(x,Tdata)

image thumbnail

updated 1 year ago

Knapsack problem by Hanan Kavitz

A well known combinatorial problem (knapsack problem, optimization, linear programming)

knapsackGA

image thumbnail

updated 1 year ago

OptimPID: an optimal PID controller design interface by Dingyu Xue

OptimPID is a MATLAB based interface and it can be used to optimize PID parameters (pid controller, optimum pid, optimal control)

multi_step.m

optimpid(varargin)

mod_1R2009b

image thumbnail

updated 1 year ago

Demo Files for "Optimizing Lookup Tables" Seminar by Teja Muppirala

Demo Files for "Optimizing Lookup Tables" Seminar (presented at MATLAB Expo 2011) (optimization, lookup tables)

makeplot(x, optimValues, state)

model(x,y)

mokuteki.m

image thumbnail

updated 1 year ago

Improving MATLAB® performance when solving financial optimization problems by Jorge Paloschi

Jorge Paloschi,PHD and Sri Krishnamurthy,CFA May 2011, http://www.wilmott.com/magazine.cfm (optimization, finance, symbolic)

OptimizationWithSymbolicToolboxDemo()

vectorize(s)

image thumbnail

updated 1 year ago

Improving the convergence of Nelder-Mead (and so fminsearch) by Emile Simon

This highlights a (common) trick to improve the convergence of NM, and a problem within fminsearch. (optimization, neldermead, restart)

nmsmax(fun, x, stopit, savit, varargin)

BenchmarkXSquared.m

image thumbnail

updated 1 year ago

Minimum settling time control design through direct search optimization methods by Emile Simon

New approach for designing controllers explicitely minimizing the settling time of a time response. (optimization, control design, settling time)

ClosedLoop(Sol2,Ap,B1,B2,C1,C2,D11,D12,D21)

DrawImpactParameters.m

Fprelim(vec,Ap,B1,B2,C1,C2,D11,D12,D21,range)

image thumbnail

updated 2 years ago

Optimization Tips and Tricks by John D'Errico

Tips and tricks for use of the optimization toolbox, linear and nonlinear regression. (confidence intervals, tutorial, examples)

optimtips

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

consolidator(x,y,aggregation_mode,tol)

image thumbnail

updated 2 years ago

Managing Diversification by Attilio Meucci

Entropy-based mean-diversification efficient frontier (portfolio management, financial engineering, optimization)

GenFirstEigVect(S,A)

MaxEntropy(G,w_b,w_0,Constr)

[E,L,G]=GenPCBasis(S,A)

image thumbnail

updated 2 years ago

Using MATLAB to Optimize Portfolios with Financial Toolbox by Bob Taylor

Scripts and data to demonstrate the new Portfolio object in Financial Toolbox. (backtesting, analysis, finance)

part1_plot(varargin)

PortfolioDemo

part1_intro.m

image thumbnail

updated 2 years ago

Hybrid Genetic Optimizer for Grey-box Model Identification by Jie Hu

Matlab code of a hybrid genetic optimizer for Grey-box Model Identification. (optimization, modeling, system identification)

Abs_RI( RI )

Avg_Func(S21_RI, Opt)

AxisLim_Func(Min_In, Max_In, division)

image thumbnail

updated 2 years ago

In sample Value at Risk and backtesting with the Pearson type IV distribution by Stavros Stavroyiannis

Garch(1,1) model with Pearson type IV distribution innovations and Value at Risk backtesting (christoffersen, finance, garch)

results=varinPIV(data)

image thumbnail

updated 2 years ago

In sample value at risk and backtesting by Stavros Stavroyiannis

Garch model with Gaussian distribution and Value at Risk in sample backtesting. (kupiec, garch, finance)

results=varin(data)

image thumbnail

updated 2 years ago

Web Server Demo by Stefan Duprey

How to deploy a MATLAB® made application on a web server (optimization, compiler, deployment)

CelltowerGUI()

circlesIntersect(x)

circlesIntersect(x)

image thumbnail

updated 2 years ago

n-person game by Bapi Chatterjee

The function npg solves an n-person finite non-co-operative game to compute one Nash Equilibrium. (matrix game, nperson game, non co operative game)

gamer(n,Us,p,I,s,ub,lb,x0,Aeq,beq,pay,U)

npg(M,U)

image thumbnail

updated 2 years ago

Portfolio Optimizer Tool by Patric Schenk

Portfolio Optimizer Tool (data import, gui, finance)

portfoliotool(varargin)

ExcelReport

Portfolio

image thumbnail

updated 2 years ago

LinStats by Michael Boedigheimer

Statistical analysis (ANOVA,…) and plotting of fixed and mixed effects models using modern methods (statistics, gui, optimization)

blkrepmat( type, c, q )

center(X, V, dim)

coeff2eqn( coeffs, var_names, skipzeros, parens )

image thumbnail

updated 2 years ago

Complex fsolve by Leonidas Georgopoulos

Computes numerically complex solutions of a system of equations (complex, imaginary, optimisation)

[cfsol fsol fval exitflag output jacob ]=cfsolve(funhandle,...

image thumbnail

updated almost 3 years ago

AdvCurveFit by Robert Bemis

Solve complex curve fit problem with parameter pooling & stratification by nonlinear least-squares. (optimization, curve, fitting)

Adventures in curve fitting

PkBgErr(x,y,pk,bg)

[x,y]=limits(a)

image thumbnail

updated almost 3 years ago

Speeding Up Optimization Problems with Parallel Computing by Stuart Kozola

Files from the webinar: Speeding up optimization problems with parallel computing (aerospace, automotive, demo)

Electron Problem Optimization

First Order Reliability Method using a Simulink Flutter Mod...

computebestportfolioPCT(expRet,expCov,portSize,targetRet)

image thumbnail

updated almost 3 years ago

Minimum Perfect Matching Tool by Vojtech Knyttl

Function to solve the Minimum Perfect Matching Problem on non-biparite graphs. (optimization, linear programming, graphs)

min_perfect_matching( G )

image thumbnail

updated 3 years ago

zpkfit by Tobin Fricke

Fit poles and zeroes (ZPK) to frequency response data (signal processing, optimization, control design)

zpkfit(f, Txy, poles, zeroes)

Contact us