image thumbnail

updated 5 years ago

Customizing the Simulink Interface Demo by Simulink Dude

This demo walks you through the steps of being able to customize the Simulink interface. (simulink, interface, customization)

Customizing Simulink Graphical User Interface

sl_customization(cm)

sl_customization(cm)

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 3 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 10 years ago

Examples of incorporating m-code into Simulink models by Jason Ghidella

Example Simulink models to support a MATLAB Digest article from September 2004. (simulink, sfunctions, embedded matlab)

Different ways of incorporating M-code into Simulink

aero_extkalman(pinput)

aero_extkalman_L2_msfcn(block)

image thumbnail

updated almost 7 years ago

Learning the Kalman-Bucy Filter in Simulink by Yi Cao

A Simulink model to learn the continuous-time Kalman-Bucy Filter (filter design, filter analysis, kalmanbucy filter)

Learning the Kalman-Bucy Filter in Simulink

kalmanbucy

image thumbnail

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

Removing Simulink's State Order Dependency (Example 3) by Dan Lluch

Explores how to leverage the 'Structure with Time' Simulink data format to alleviate ordering ... (simulink, state, order)

Example3.m

makestatestruct(mdl)

image thumbnail

updated 7 years ago

Simulink Diagnostics Examples by Seth Popinchalk

Example models that show the use of diagnostics to improve the model. (whitepaper, article, paper)

Simulink Diagnostics Examples

diagnosticsMuxAsBusCreator

diagnosticsSolverSettings

image thumbnail

updated almost 10 years ago

XPC_COMMAND_CENTER by Frank González-Morphy

xpc_command_center is a GUI to easily communicate to the xPC Target Application. (tools and utilities, xpc, target)

xpc_command_center.m

xpc_command_center_diag.m

image thumbnail

updated 4 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 9 years ago

Model-Based Design and FPGA Implementation with Simulink by Ali Behboodian

We introduce Simulink® for Model-Based Design in the context of FPGA implementation and verificatio (hardware targets, fpga, vhdl)

edgecmds

edgecmds_v

example_sel2html(fn)

image thumbnail

updated almost 5 years ago

Parallel Computing with Simulink: Model Reference Build by Seth Popinchalk

These files accompany my blog post of the same name. (simulink, parallel computing, pct)

Parallel Computing with Simulink, Model Reference Paralle...

cleanUpMref

bot_model001

image thumbnail

updated 7 years ago

Unit Conversion Tools by Bob Kagy

Command line, GUI, & Simulink block to convert physical units (physical unit convert...)

unit_conversion

lib_unit_conversion_mask(cmd)

unit_conversion_gui(varargin)

image thumbnail

updated 4 years ago

Control optimization of a 4DOF arm using DIDO by Alan Jennings

4 DOF arm imported via SimMechanics generates dynamics for optimal pick-place control solved by DIDO (control design, optimal control, robot)

Arm_4DOF_ResultsCheck

[a,b]=Arm_4DOF_MinEnergy_Cost(x)

[t3,State3,Control_Out]=Arm_4DOF_PathCompose(Pose1,Pose2,...

image thumbnail

updated 4 years ago

SimMechanics pendulum used for control optimization by Alan Jennings

Pendulum imported via SimMechanics generates dynamics for optimal dampening solved by DIDO. (control design, optimal control, pendulum)

Arm_1DOF_ResultsCheck_a

[Results,u_star2,t,Q,K,tset]=...

[Results,u_star2,t]=Arm_1DOF_LinearStateTransition_Fun(St...

image thumbnail

updated almost 7 years ago

Reliable and Roubst Design by Stuart Kozola

MATLAB Code used in the Jan 2008 Digest Article (optimization, realiability, robust design)

cumprobPlot(cost)

myCostFcn(x,simParms)

myCostFcnRR(x,simParms)

image thumbnail

updated almost 8 years ago

Optimization of a Double Wishbone Suspension System by Stuart Kozola

Demo files from the Webinar "Introduction to Optimization with MATLAB(R) Products" Oct. 26, 2006 (optimization, pattern search, genetic algorithms)

importfile(fileToRead1,varargin)

updatePlot(varargin)

verifyInstalled

image thumbnail

updated 1 year ago

HIL of Position Control System by Sam Mirsky

Files for Webinar on Aug 28, 2008: HIL of Position Control System

image thumbnail

updated 5 years ago

Automated Failure Boundary Mapping by Stuart Kozola

Demo files from July 21, 2009 webinar (statistics, optimization, clustering)

Failure Boundary Identification

Flutter Model Demo

boundaryArea(Y,X,lb,ub,limitFunction)

image thumbnail

updated 7 years ago

Phase Locked Loop tutorial by Giorgia Zucchelli

A tutorial showing how Phase-Locked Loops, both analog and digital can be efficiently modeling in Si (dsp, pll vco nco phase loc...)

Demo: Phase Locked Loop

cppll

dpll

image thumbnail

updated 4 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 M...

computebestportfolioPCT(expRet,expCov,portSize,targetRet)

image thumbnail

updated 6 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 8 years ago

CORDIC ALGORITHM by Juan Antonio ARIZAGA

angle´s Sine and Cosine function using CORDIC (cordic, algorithm, iterative)

image thumbnail

updated almost 8 years ago

Uncertainty Analysis of a DC Motor by Stuart Kozola

Using Statistics for Uncertainty Analysis in System Models (statistics, probability, uncertainty)

Uncertainty Analysis of a DC Motor System Model

coded2real(z,bounds)

mcColorMap(values,cmap)

image thumbnail

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

Fixed-Point ATAN2 using CORDIC by Giorgia Zucchelli

This demo shows how a fixed-point cordic algorithm to calculate a phase from polar coordinates (arct (dsp, cordic atan atan2 arc...)

Fixed-Point ATAN2 using CORDIC

atan2_fixpt(im,re)

image thumbnail

updated almost 6 years ago

Fixed Point Radix-4 FFT by Mike Donovan

These functions compute a fixed point radix-4 FFT.You can generate C code from this m-code. (communications, fixed point, signla processing)

Radix-4 FFT Test Script

plotPYYf(sf,Fs)

radix4FFT1_Float(s)

image thumbnail

updated almost 5 years ago

41 Complete GUI Examples by Matt Fig

41 working GUIs to read and learn. (gui, example, files)

GUI_1()

GUI_10()

GUI_11()

image thumbnail

updated 4 years ago

Surface Fitting using gridfit by John D'Errico

Model 2-d surfaces from scattered data (approximation, interpolation, modeling)

gridfit_demo

gridfit(x,y,z,xnodes,ynodes,varargin)

test_main.m

image thumbnail

updated 6 years ago

Tunning of PID controller using Particle Swarm Optimization by wael korani

tunining of PID controller by using PSO (optimization, tuning, pid)

Tunning of PID controller using Particle Swarm Optimization

tracklsq(pid)

optsim1

Contact us