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

Continous Fractions Expansion by Mario Coutino

Computes the continous fractions expasion of a pulse transfer function. (control design, mathematics, signal processing)

cont_frac(num,den)

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

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

kappa - Frequency-wise nu-gap metric by Daniel Auger

This function calculates the frequency-wise version of the nu-gap between two systems. (control design)

kappa(P1, P2, varargin)

testkappa.m

image thumbnail

updated 1 month ago

cofficients of fourier series by davood shaghaghi

This function is written to calculate the cofficients of fourier series. (control design, mathematics, image processing)

[]=fs(x,T0,n,type)

image thumbnail

updated 2 months ago

System L1-norm by James Whidborne

Calculate L1-norm of impulse response of continuous-time SISO LTI system (control design, norm, l1norm)

[L1norm,err,U,L,tol,niter]=l1norm(G,tol,maxiter)

l1normtest.m

image thumbnail

updated 2 months ago

GPS Navigation Toolbox by moein mehrtash

This program include Principle of Radio Navigation Calculation and GPS position error corrections. (control design, aerospace, automotive)

Delta_R_Trop=Error_Tropospheric_Hopfield(T_amb,P_amb,P_vap,...

ECEF2GPS(Pos)

XYZ2ENU(A,Phi,Lambda)

image thumbnail

updated 3 months ago

DC Motor open and closed loop analysis by Rakesh Mandal

Used for design analysis of DC Motor (automotive, simulation, control design)

brushless_dc_motor(varargin)

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

GUI for analyzing the effect of PID gains by Rakesh Mandal

To analyze the response of various combination of PID gain on system performance. (automotive, pid controller, simulink)

PID_cc_gain_effects(varargin)

cruisedyn(v, u, gear, theta, m)

cruise_pid_testing

image thumbnail

updated 3 months ago

PID Controller Design and Tuning with MATLAB and Simulink - Engine Control by Arkadiy Turevskiy

This demo file shows capabilities for PID Controller design and tuning in MATLAB and Simullink. (control design, pid control, pid controller)

plot_format(X1, YMatrix1)

gain_scheduling.m

pid_intro.m

image thumbnail

updated 4 months ago

Sim.I.am by Jean-Pierre de la Croix

A MATLAB-based educational bridge between theory and practice in robotics. (robotics, control design, simulation)

GetArg(S, Name, Default)

ParseArgs(Args, varargin)

findjobj(container,varargin)

image thumbnail

updated 4 months ago

Model-in-the-Loop for Embedded System Test (MiLEST) preliminary version by Justyna Zander

This is a draft preliminary version of the MiLEST Framework for eduction purpose. (automotive, simulink, demo)

Mask_Shut_off(varargin)

ReqName_callback(block)

ReqName_callback(block)

image thumbnail

updated 4 months ago

Aerial Recovery Concept Demo (Gauss's Principle) by Liang Sun

Demonstrate the concept of aerial recovery of miniature aerial vehicles using a towed-cable system. (aerospace, control design, simulation)

cable_drogue_dynamics(t,x,u,flag,P)

camera(t,x,u,flag,P)

drogue_guidance(uu,P)

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 4 months ago

phlead by Daniel Auger

Phase-lead compensator with specified centre frequency and lead. (control design)

phlead(varargin)

phleadExample.m

image thumbnail

updated 4 months ago

graphsymbols by Daniel Auger

Compute the normalized left and right coprime graph symbols of a system. (control system design, graph symbols, feedback)

graphsymbols(P)

testgraphsymbols.m

image thumbnail

updated 5 months ago

Cuckoo Search (CS) Algorithm by Xin-She Yang

A standard Cuckoo Search is implemented, which is very efficient. There are three versions now. (levy flights implemen..., optimization, natureinspired algori...)

[bestnest,fmin]=cuckoo_search(n)

[bestnest,fmin]=cuckoo_search_new(n)

[bestsol,fval]=cuckoo_search_spring(time)

image thumbnail

updated 5 months ago

rho - frequency-wise stability margin by Daniel Auger

Frequency-wise stability margin for a [P,C] pair (control design)

rho(P, C, omega)

testrho.m

image thumbnail

updated 5 months ago

Decentralized Feedback Zero Forcing Equalizer by Alex Dytso

Describes implementation of decentralized feedback zero forcing equalizer. (communications, wireless, simulation)

simDFEZF

image thumbnail

updated 5 months ago

One-Sided FFT by Aravazhi Anbarasu

More intuitive than built in function for simple operations.Useful for repetitive code and plotiing. (control design, physics, communications)

fft_calc(X,fs)

image thumbnail

updated 5 months ago

CRCBode() - Contoured Robust Controller Bode Plot Function by JD Taylor

Generate controller Bode plots with contours showing robust performance and stability metric. (robust control, control design, loop shaping)

CRCBode(wi,mPi,aPi,mCi,aCi,Wui,Wsi,mLim,aLim,cLim,controlSt...

image thumbnail

updated 5 months ago

Time Function from Laplace Transform by Duane Hanselman

Return function handle that evaluates inverse Laplace transform. (control design, mathematics)

fun=invlapfun(b,a)

image thumbnail

updated 5 months ago

Differential Drive and Global Positioning Blockset v2.0 by Jahanzeb Rajput

This blockset is for modeling and visualization of the dynamics of differential drive vehicle robot. (simulation, differentials, vehicle robot)

[sys,x0,str,ts]=navigate(t,x,u,flag,velocitya,loada,velocit...

DifferentialDriveVehicleRobotDemo

diffgp

image thumbnail

updated 6 months ago

Equations of motion to state space by michael arant

Converts set of equations of motion (symbolic format) into state space matrices (x_dot = A*x + B*u) (state space, symbolic, equation of motion)

eom2ss(eq,x,dx,U)

eom2ss_symbolic_example1(s)

eom2ss_symbolic_example1(s)

image thumbnail

updated 6 months ago

Trapezoidal Integration by Aravazhi Anbarasu

Simple and intuitive numerical integration based on trapezoidal rule. (data import, data export, control design)

int_trapz(X,Ts)

image thumbnail

updated 6 months ago

Inverse Laplace Transform function by Duane Hanselman

Function handle that evaluates the time function associated with a Laplace Transform. (control design, simulation)

fun=invlapfun(b,a)

image thumbnail

updated 6 months ago

Numerical Inverse Laplace Transform by Tucker McClure

Numerical approximation of the inverse Laplace transform for use with any function defined in "s". (inverse laplace trans..., laplace, talbot)

euler_inversion(f_s, t, M)

euler_inversion_sym(f_s, t, M, P)

talbot_inversion(f_s, t, M)

image thumbnail

updated 6 months ago

Safety Critical Control Elements Examples by Chethan C U

The files contained have the examples for safety critical control elements. (aerospace, automotive, control design)

x=GenRandomTestBool(NoOfTransitions,EndTime,DT)

FirstOrderFilterTest.m

IntegratorTest.m

image thumbnail

updated 6 months ago

Controls Tutor by Craig Borghesani

Help understand the fundamentals of classical control theory. (control, time response, controls)

[fphs]=phasecor(lo,axs,wloc)

[lead_cplx,z,p]=leadlag(phi,wd,w,T)

[z,p,k]=term2zpk(term_mat,T)

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

[topt,xopt,uopt,thetaopt]=plotopt1( x0,N,ts,dvarO,beta,rho,...

[topt,xopt,uopt,thetaopt]=plotopt2( x0,N,ts,dvarO,beta,rho,...

animateopt( topt,xopt,uopt,thetaopt,beta,N,rho )

image thumbnail

updated 7 months ago

Matlab Space Invaders VideoGame by Héctor Corte

A tribute to Space Invaders coded in Matlab. Just take fun and get ideas for more games. (aerospace, gui, control design)

enemy

lasser

player

image thumbnail

updated 8 months ago

APM2 Simulink Blockset by Robert Hartley

Simulink blockset for use with the ArduPilot Mega 2.0 hardware. Includes blocks to read external rad (wireless, apm2, ahrs)

arduino.runAvrDude(hexFile)

arduino_make_rtw_hook(hookMethod, modelName, ~, ~, ~, ~)

arduino_select_callback_handler(hDlg, hSrc)

image thumbnail

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

Fractional Variable Order Derivative Simulink Toolkit by Dominik Sierociuk

The toolkit for simulation constant and variable fractional order derivatives. (fractional calculus, signal processing, variable order differ...)

slblocks

make_mex.m

example1

image thumbnail

updated 8 months ago

Markov Decision Processes (MDP) Toolbox by Marie-Josee Cros

Functions related to the resolution of discrete-time Markov Decision Processes. (control design, markov decision proce..., optimization)

[V,mean_discrepancy]=mdp_eval_policy_TD_0(P,R,discount,poli...

mdp_LP(P, R, discount)

mdp_Q_learning(P, R, discount, N)

image thumbnail

updated 9 months ago

Approximate Steering of a Unicycle Under Bounded Model Perturbation Using Ensemble Control by Aaron Becker

Steers unicycle despite model perturb. scaling speed & turning rate by unknown, bounded constant. (ensemble control, nonholonomic unicycle, motionplanning)

EnsembleControlUnicycleUnderBoundedModelPerturbation

image thumbnail

updated 9 months ago

Feedback Control of Many Differential-Drive Robots with Uniform Control Inputs by Aaron Becker

GAS feedback control for many differential-drive robots when each robot receives same control inputs (control design, robot, differentialdrive rob...)

PlotComparisonNanoMicroDiffDrive

distinguishable_colors(n_colors,bg,func)

hersheyFonts

image thumbnail

updated 9 months ago

Controllability gramian for unstable systems by Chris Bowden

Computes the controllability gramian for an unstable linear system in state space form. (controllability, gramian, unstable system)

CtrGram.m

image thumbnail

updated 9 months ago

Simulation and Limited Redesign of a Counterbalanced Two Link Robotic Manipulator by James Allison

Supplementary material for an ASME publication regarding limited redesign of mechatronic systems. (aerospace, automotive, control design)

[E,t1,q1,q2,qd1,qd2,qdd1,qdd2,torque,g]...

fwd_kin(q,x)

SimulateCBTwolink.m

image thumbnail

updated 9 months ago

Range and Bearing Control of an Ensemble of Robots by Aaron Becker

Game for steering many robots to fire suction-cup darts at a target.(note: still under development.) (control design, robotics, robot)

GenerateDataUniformControlCollisionCheck

ParseGenerateDataUniformControlCollisionCheck

jasontron2012()

image thumbnail

updated 10 months ago

GUI for denoising video signals with Kalman filter by Youssef KHMOU

filter grayscale video signals(avi || Webcam) with 1st Order Estimation & Kalman filter . (image processing, gui, signal processing)

B=corr2d(H)

Create_gray_Gif_Image( data,filename)

Estimation(X)

image thumbnail

updated 10 months ago

PID Basics by Lucas García

PID Basics is a nice way to obtain a quick intuition and understanding of PID control. (gui, control design, pid)

PIDBasics(varargin)

tfProcess(varargin)

PID Basics

image thumbnail

updated 10 months ago

Controller Design GUI by Hadi Saadat

Tool for the design of a first-order controller in the forward path of a closed-loop control system (control design, gui)

ghs.m

lagcontroller.m

leadcontroller.m

image thumbnail

updated 10 months ago

Improvement of the LMI method of [Scherer 2000] for multi-objective designs by Emile Simon

This implements an improvement based on a new insight of the change of variables proposed in [S00]. (multiobjective, control design, lmi)

AddPoleFIR(Qbeta)

FIR(Pstruct,n_Q)

InnerLoop(Pstruct,Q,desac)

image thumbnail

updated 10 months ago

SCARA Manipulator by MOHAMMED ELAMASSIE

Full Software package for the SCARA manipulator (path planning and trajectory) (control design, robotics)

J=Jacobian(th1,th2)

Path_PLaning(OI,OF,TH4)

SCARA_GUI(varargin)

image thumbnail

updated 11 months ago

Sampled-data model fo NCS with delay less than sampling time by Seshadhri Srinivasan

Sampled-data model of NCSs subjected to delay less than sampling period h (networked control sys..., sampleddata control s..., delays)

[phid,gamma0,gamma1]=NCSsd(sysc,h)

Contact us