Refine by Content Type

Refine by Product

Refine by Time Frame

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

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

A road to classification in high dimensional space: the regularized optimal affine discriminant by Yang Feng

A powerful method for binary classification in high dimensional space (classification, statistics, optimization)

[Sigma]=eqcor(p,rho)

analyzeReal(traindata, testdata)

lda(x, y, xtest, ytest)

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

Runge Kutta 4th order ode by Judah S

solves ode using 4th order Runge Kutta method (mathematics, optimization, runge kutta)

Runge_Kutta_4.m

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

findNlargest by Mattias Karlsson

Finds the N largest values in the input. Very fast. (optimization, mathematics, mex)

findNlargest.m

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

PERFORMANCE ANALYSIS OF Z-SOURCE INVERTER FED INDUCTION MOTOR DRIVE by Amit Tiwari

THIS SIMULINK MODEL HAS BEEN DESIGNED FOR ANALYSIS OF A Z SOURCE INVERTER FED THREE PHASE IND. MOTOR (control design, measurement, simulink)

zinv

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

rowfind by Mattias Karlsson

Finds rows of LOOKUPVALUES that are equal to rows in VALUES and return the index of the rows. (optimization)

rowfind.m

image thumbnail

updated 4 months ago

Alternating Conditional Expectation algorithm (ACE) by Henning Voss

Alternating Conditional Expectation algorithm (ACE) to calculate optimal transformations (nonparametric, ace, alternating condition...)

ace_main()

image thumbnail

updated 4 months ago

lookup by Mattias Karlsson

This function will return the indices of a vector that are closest to the numbers in another. (optimization, mathematics)

lookup.m

image thumbnail

updated 4 months ago

rowcount by Mattias Karlsson

Counts the number of rows in LOOKUPVALUES that matches each row in VALUES and returns the counts. (optimization)

rowcount.m

image thumbnail

updated 4 months ago

vectorfill by Mattias Karlsson

Takes the input vector VALUES, and changes the numbers at the specified indices that equal FILLVALUE (optimization)

vectorfill.m

image thumbnail

updated 4 months ago

findNsmallest by Mattias Karlsson

Finds the N smallest values in the input. Very fast. (mex, min, fast)

findNsmallest.m

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

Space photo intersection by Bashar Alsadik

space intersection by collinearity between two images (image processing, mathematics, statistics)

spaceintersection.m

Demo.m

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

Segmentation by Micael Couceiro

Multiple Image Segmentation using PSO, DPSO, FO-DPSO and exhaustive methods. (pso, segmentation, optimization)

segmentation.m

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

Gradient Descent by Sachinthaka

This function finds the local minima of a function. (gradient descent, optimisation, optimization)

[val grad]=test_func(x)

[x val]=gradient_descent(func,x, varargin)

test_grad_descent.m

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

direct solving Diofantine equation by davood shaghaghi

This function is written to direct solve Diofantine equation in the form of C = A*E + F. (control design, simulation, simulink)

david_dioph(A,C,n)

image thumbnail

updated 6 months ago

Nonnegative Matrix and Tensor Factorization (NMF, NTF) with any beta-divergence by Antoine Liutkus

very simple to use implementation of the NMF/NTF model (nmf, ntf, nonnegative)

betaNTF(V,K,varargin)

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

solving Diofantine equation by davood shaghaghi

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

david_dioph(A,C,n)

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

Impulsive Hyperbolic Injection from a Circular Park Orbit by David Eagle

Delta-v required for hyperbolic orbit transfer (aerospace, optimization)

atan3 (a, b)

eci2orb1 (mu, r, v)

oeprint1(mu, oev)

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

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

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

SGA_FITNESS_function(x, y)

SwarmFF_demo_SO_std.m

image thumbnail

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

Rapid Centroid Estimation by Mitchell Yuwono

An efficient particle swarm approach for rapid optimization of cluster centroids. (optimization, statistics, data exploration)

RCE( in, k, varargin )

distmat(in,x,distance, mu, sd, P, s_in)

plot_swarm(in, labels, centroids, particle_trajectory, rand...

image thumbnail

updated 6 months 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_lead_acid_battery_50Ah_ini.m

ssc_lead_acid_battery_80Ah_ini.m

Battery_Management_Lib

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)

Contact us