image thumbnail

updated 9 months ago

Pareto Set by Yi Cao

find the pareto set from n points with k objectives (optimization, multiobjective optimi..., pareto set)

membership=paretoset(X)

paretoset_examples.m

image thumbnail

updated 11 months ago

Conjugate Gradient Method by Yi Cao

Conjugate Gradient Method to solve a system of linear equations (mathematics, linear algebra, linear equation)

conjgrad(A,b,tol)

image thumbnail

updated 1 year ago

Bivariant Kernel Density Estimation (V2.1) by Yi Cao

A tool for bivariant pdf, cdf and icdf estimation using Gaussian kernel function. (statistics, probability, bivariant gaussian ke...)

Bivariate Kernel Density Estimation Demonstration

gkde2.m

image thumbnail

updated 1 year ago

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

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

lapjv(costMat,resolution)

image thumbnail

updated almost 2 years ago

Improvd downward branch and bound algorithm for regression variable selection by Yi Cao

Improved downward branch and bound to select the best subset for least squares regression problems. (optimization)

bbdireg(Y,X,n,nc)

image thumbnail

updated 3 years ago

Hungarian Algorithm for Linear Assignment Problems (V2.3) by Yi Cao

An extremely fast implementation of the Hungarian algorithm on a native Matlab code. (optimization, munkres algorithm, hungarian algorithm)

munkres(costMat)

image thumbnail

updated 3 years ago

MPC Tutorial III: MPC in Simulink V2 by Yi Cao

A tutorial on using MPC in Simulink. (tutorial, mpc, simulink)

mpcsimulink

mpcsfunc(t,z,y,flag,A,B,C,D,P,M,Q,R,Ts)

mpcdss

image thumbnail

updated 3 years ago

MPC Tutorial IV - State Space MPC with input increment by Yi Cao

functions and simulink block implement state space MPC using input increment (control design, optimization, simulink)

State Space MPC with input increment Tutorial

mpcsimulink

f=mpcsetup(A,B,C,D,hP,hM,Q,R,x0,u0)

image thumbnail

updated 3 years ago

MPC Tutorial II: Multivariable and State Space MPC V2.0 by Yi Cao

A tool and tutorial for multivariable state space MPC (model predictive cont..., general predictive co..., receding horizon)

State Space MPC Tutorial

f=mpcsetup(A,B,C,D,p,m,Q,R,x0,u0)

image thumbnail

updated almost 4 years ago

Learning the Kalman Filter in Simulink v2.1 by Yi Cao

A Simulink model to learn the Kalman filter for Gassian processes. (filter design, filter analysis, kalman filter)

Learning the Kalman Filter in Simulink Examples

kalmanfilte_r14r

image thumbnail

updated almost 4 years ago

Learning the Kalman Filter: A Feedback Perspective by Yi Cao

A feedback view of Kalman filter to gain more useful insights. (filter design, filter analysis, kalman filter)

Learning the Kalman Filter: a Feedback Perspective

KFgain

KalmanLTI

image thumbnail

updated 4 years ago

Learning the Unscented Kalman Filter by Yi Cao

An implementation of Unscented Kalman Filter for nonlinear state estimation. (filter design, filter analysis, kalman filter)

[x,P]=ukf(fstate,x,P,hmeas,z,Q,R)

image thumbnail

updated 4 years ago

Patch color selector by Yi Cao

Selecting colors for a number of patches to avoid neighboring patches with the same color. (color patches, data exploration)

pcsel( centers, ncolor )

image thumbnail

updated 4 years ago

Efficient K-Nearest Neighbor Search using JIT by Yi Cao

A small but efficient tool to perform KNN search (statistics, probability, knearest neighbors)

[idx,D]=knnsearch(varargin)

image thumbnail

updated 4 years ago

Probability Density Function (PDF) Estimator (V3.2) by Yi Cao

An estimate of probability density function of the given random data with bounded support. (statistics, probability, probability density f...)

Gaussian Kernel Density Estimation Demonstration

p=gkdeb(x,p)

image thumbnail

updated almost 5 years ago

MPC Tutorial IV: DMC Simulink Block and Example by Yi Cao

A DMC Simulink block with a demonstration example based the MATLAB demo, heatex (mpc, dmc, simulink)

Tutorial on Use of the DMC Simulink Block

dmcsfun(t,x,u,flag,varargin)

dmc_sim

image thumbnail

updated almost 5 years ago

Bidirectional Branch and Bound for Average Loss Minimization by Yi Cao

Two algorithms for selection of controlled variables using the average loss as the criterion. (control design, optimization)

[G1,Gd1,Wd,Wn,Juu,Jud]=randcase(ny,nu,nd)

b3av.m

pb3av.m

image thumbnail

updated almost 5 years ago

Bidirectional Branch and Bound for Multiobjective Pairing Selection by Yi Cao

A bidirectional branch and bound code to perform multiobjective input-output pairing selection. (multiobjective optimi..., branch and bound, control design)

[B,perm,flp,ctime,flag]=b3muRGA(G,nRGA,timelimit)

image thumbnail

updated 5 years ago

Bidirectional Branch and Bound Solvers for Worst Case Loss Minimization by Yi Cao

Two branch and bound solvers using worst case loss criterion to select controlled variables. (branch and bound, eighenvalue, optimization)

[B,sset,ops,ctime,flag]=b3wc(G1,Gd1,Wd,Wn,Juu,Jud,tlimit,...

[B,sset,ops,ctime,flag]=pb3wc(G1,Gd1,Wd,Wn,Juu,Jud,n,tlim...

[G1,Gd1,Wd,Wn,Juu,Jud]=randcase(ny,nu,nd)

image thumbnail

updated 5 years ago

Multivariable Subspace Identification: MOESP by Yi Cao

A tool for subspace identification using the MOESP algorithm. (system identification, state space identific..., subspace identifica)

[ss,ssfun]=moesp(y,u,d)

image thumbnail

updated 5 years ago

Configurable Simulink Model for DC-DC Converters with PWM PI Control by Yi Cao

A Simulink model configurable to buck, boost and buck-boost DC-DC converters with PWM PI control (electronics, dc converter, buck converter)

Configurable Simulink Model for DC-DC Converters

converter_mask(blk)

buck1.m

image thumbnail

updated almost 6 years ago

Bidirectional Branch and Bound Minimum Singular Value Solver (V2) by Yi Cao

A branch and bound solver to find the largest minimum singular values among all submatrices. (optimization, branch and bound, singular value)

[B,sset,ops]=b3msv(Q,nc)

image thumbnail

updated almost 6 years ago

Kernel Smoothing Regression by Yi Cao

A non-parametrical regression (smoothing) tool using Gaussian kernel. (statistics, probability, kernel smoothing)

r=ksr(x,y,h,N)

image thumbnail

updated 6 years ago

Pareto Front by Yi Cao

Two efficient algorithms to find Pareto Front (optimization, pareto front, pareto set)

front=paretoGroup(X)

paretofront(varargin)

image thumbnail

updated 6 years ago

Munkres Assignment Algorithm by Yi Cao

An efficient implementation of the Munkres algorithm for the assignment problem. (optimization, munkres algorithm, hungarian algorithm)

munkres(costMat)

image thumbnail

updated 6 years ago

Stochastic Subspace Realization by Yi Cao

A tool to identify a state space model from stochastic signals (system identification, stochastic realizatio..., subspace identificati...)

[ss,ssfun]=stochreal(y,d)

image thumbnail

updated 6 years ago

Hypervolume Indicator by Yi Cao

A tool to estimate the hypervolume indicator (optimization, multiobjective optimi..., pareto set)

v=hypervolume(P,r,N)

image thumbnail

updated 6 years ago

Efficient K-Means Clustering using JIT by Yi Cao

A simple but fast tool for K-means clustering (statistics, probability, kmeans)

[gIdx,c]=k_means(X,k)

image thumbnail

updated 6 years ago

Local Linear Kernel Regression by Yi Cao

A function to provide local linear estimator of Gaussian kernel regression (statistics, probability, kernel smoothing)

r=ksrlin(x,y,h,N)

image thumbnail

updated 6 years ago

Fast Range Search through JIT (ver 2) by Yi Cao

A small but fast tool to perform range search. (statistics, probability, range search)

[idx,dist]=rangesearch(c,r,X,mode)

image thumbnail

updated 6 years ago

MPC Tutorial I: Dynamic Matrix Control by Yi Cao

A tutorial for beginners to learn dynamic matrix control (model predictive cont..., dynamic matrix contro..., receding horizon con)

Dynamic Matrix Control Tutorial

p=dmc(p)

image thumbnail

updated 6 years ago

Efficient Kernel Smoothing Regression using KD-Tree by Yi Cao

Efficiency improved multivariant kernel regression using kd-tree (statistics, probability, kernel smoothing)

r=kdtree_ksrmv(x,y,hx,z)

image thumbnail

updated 6 years ago

Multivariant Kernel Regression and Smoothing by Yi Cao

A multivariant Gaussian kernel regression and smoothing tool. (statistics, probability, kernel smoothing)

3-D Image Smoothing through Multivariant Kernel Regression

r=ksrmv(x,y,hx,z)

image thumbnail

updated 6 years ago

Evaporator and Gradient Control by Yi Cao

A Simulink model of an evaporator with gradient control (simulation model, evaporator, pid control)

mcdist.m

EvapSOC_Grad

image thumbnail

updated almost 7 years ago

Bhattacharyya Distance Measure for Pattern Recognition by Yi Cao

A Tool to calculate the Bhattacharyya Distance Measure for Pattern Recognition (statistics, probability, bhattacharyya distanc...)

d=bhattacharyya(X1,X2)

image thumbnail

updated almost 7 years ago

Update PDF Estimation by Yi Cao

Update PDF estimation upon receiving new data (statistics, probability, pdf)

p=gkde(x,p)

image thumbnail

updated almost 7 years ago

Relative Gain Array by Yi Cao

Function to calculate the RGA, the General RGA, the Input and Output Effectiveness (rga, multivariable interac..., inputoutput pairing)

[R,S]=rga(G)

image thumbnail

updated almost 7 years ago

Benchmarking Sudoku Solvers by Yi Cao

Benchmarking various sudoku solvers (games, sudoku, benchmark)

Sudoku Solver Benchmarking

[B,level,err]=yass(A,N,block)

perf=sudukubench(solver,nTest)

image thumbnail

updated almost 7 years ago

Partial Least-Squares and Discriminant Analysis by Yi Cao

A tutorial and tool using PLS for discriminant analysis. (linear algebra, pls, pca)

Principal Component Analysis and Partial Least Squares

pls (X,Y,tol2)

image thumbnail

updated almost 7 years ago

Pseudo-Inverse Update by Yi Cao

Two rank-one pseudo-inverse update functions. (linear algebra, incremental pseudoinv..., pseudoinverse)

M=pinvupdateapp(A,B,x)

pinvupdatered.m

image thumbnail

updated almost 7 years ago

Update Inverse Matrix by Yi Cao

update inverse of matrix after appending or reducing one coulmn and one row. (linear algebra, incremental inverse, inverse matrix)

M=invupdateapp(A,x,y,r)

M=invupdatered(A,r,c)

image thumbnail

updated almost 7 years ago

Mortgage by Yi Cao

A small tool for mortgage calculation (finance, modeling, analysis)

[monthpay,annualpay,totalpay,balance]=mortgage(capital,ra...

image thumbnail

updated almost 7 years ago

Faddeev-Leverrier Algorithm by Yi Cao

An iterative approach to generate characteristic polynomial coefficients (linear algebra, characteristic polyno..., inverse)

Faddeev-Leverrier Algorithm

[p,Ainv,B]=fadlev(A)

image thumbnail

updated almost 7 years ago

linearizor by Yi Cao

A complement tool and tutorial for nonlinear dynamic system linearization (linearization, nonlinear dynamic sys..., state space equation)

[A,B,C,D,dx,y]=linearizor(f,x,u,h)

image thumbnail

updated almost 7 years ago

Steam Condenser Model and PI Control by Yi Cao

A dynamic model of a steam condenser with PID control. (pid controller, steam condenser, simulink model)

runsteamcondenser

[K,tau,td]=ReactionCurve(t,y)

SteamCondenser

image thumbnail

updated almost 7 years ago

Learning PID Tuning III: Performance Index Optimization by Yi Cao

A tool and tutorial to perform optimal PID tuning (pid control, controller tuning, performance index opt...)

Learning PID Tuning III: Performance Index Optimization

[C,fval]=optimPID(G,ctype,idx)

image thumbnail

updated almost 7 years ago

Neural Network training using the Extended Kalman Filter by Yi Cao

A function using the extended Kalman filter to train MLP neural networks (fuzzy logic, neural networks, parameter estimation)

[theta,P,e]=nnekf(theta,P,x,y,Q,R)

image thumbnail

updated almost 7 years ago

Neural Network training using the Unscented Kalman Filter by Yi Cao

A function using the unscented Kalman filter to train MLP neural networks (fuzzy logic, neural networks, parameter estimation)

[theta,P,e]=nnukf(theta,P,x,y,Q,R)

image thumbnail

updated almost 7 years ago

Learning PID Tuning II: Stability Margin by Yi Cao

A tutorial to learn Ziegler-Nichols PID tuning (pid control, controller tuning, zieglernichols tuning)

Learning PID Tuning II: Stability Margin

[k,ku,pu]=znpidtuning(g,ctype)

image thumbnail

updated almost 7 years ago

Learning PID Tuning I: Process Reaction Curve by Yi Cao

process reaction curve approach to tune PID controller (process reaction curv..., firstorderplustimedel..., pid tuning)

Learning PID Tuning I: Process Reaction Curve

[model,controller]=ReactionCurve(t,y,u)

Contact us