image thumbnail

updated 2 months ago

echeever/BodePlotGui by Erik Cheever

A tool for generating piecewise linear asymptotic Bode diagrams. (asymptotic, bode, frequency)

image thumbnail

updated 7 months ago

What is the best way to implement my algorithm in Simulink ? by Giampiero Campa

Eight ways to implement an Extended Kalman Filter as a Simulink block (extended kalman filte..., simulink, sfunction)

sfall2(block)

sysall

lt_ekfdef.m

image thumbnail

updated 8 months ago

Device Drivers by Giampiero Campa

Developing Simulink Device Driver Blocks: Step-By-Step Guide and Examples (arduino, device, driver)

renc2cpp(sfname)

encoder_slsp

encoder_slsp_mega

image thumbnail

updated 9 months ago

Arduino IO package: Slides and Examples by Giampiero Campa

Slides for the webinar: "Learning Basic Mechatronics Concepts Using the Arduino Board and MATLAB". (arduino, mechatronics, class)

blink_challenge.m

example_encoders.m

example_io.m

image thumbnail

updated 9 months ago

Motor Shields by Giampiero Campa

Motor Shield Driver Blocks (arduino, motor shield, driver)

AFMotorV2Setup(MdlName)

renc2cpp(sfname)

setArduinoDefn(buildInfo)

image thumbnail

updated 1 year ago

proesmans by Giampiero Campa

Optical flow using the Proesmans method (image processing, optical flow, mex file)

image thumbnail

updated 3 years ago

Primes by Giampiero Campa

Simulink system that generates primes (mathematics, simulink)

primes

image thumbnail

updated 4 years ago

quadforms by Giampiero Campa

Convert quadratics from Homogeneous to Center form and back. (mathematics, geometry, algebra)

E=c2h(Q,c)

[Q,c]=h2c(E)

image thumbnail

updated 5 years ago

MIMOtool by Giampiero Campa

Multi Input Multi Output Systems Toolbox (mimo, mvtools, siso)

...

...

...

image thumbnail

updated 5 years ago

LqrSim by Giampiero Campa

Algebraic Riccati Equation solution in Simulink via C+Fortran (simulink, riccati, are)

demos

contents.m

sfcndemo_lqry

image thumbnail

updated 5 years ago

RTAI-Linux Target HOWTO by Giampiero Campa

RTAI-Linux Target : Step by Step instructions for Beginners (whitepaper, article, paper)

image thumbnail

updated 5 years ago

Airlib by Giampiero Campa

The Aircraft Library (aerospace, aeronautics, aerodef)

[CD,CL,CY,Cl,Cm,Cn]=ab2dv(Alg,Blg,Alt,Blt,GM,deltaE_0,alp...

[X0,U0]=air3m(name,V,H,G)

demos

image thumbnail

updated 5 years ago

udpip by Giampiero Campa

Simulink Blocks for UDP/IP communication (simulink, udp, ip)

image thumbnail

updated almost 6 years ago

bvrclock by Giampiero Campa

Virtual Reality Implementation of a Binary Clock (demo, clock, virtual reality)

bvrclock(opt)

image thumbnail

updated 6 years ago

General Economic Equilibrium by Giampiero Campa

2-Goods 2-Consumers General Economic Equilibrium (simulation, modeling, economics)

cons7x(block)

firm2x(block)

GenEq2x

image thumbnail

updated 6 years ago

PIL by Giampiero Campa

Parameter Identification Library (system identification, parameter identificat..., recursive least squar...)

[out,x0,str,ts]=lwrb2(t,x,u,flag,n,m,p,k,tol,T)

demos

slblocks

image thumbnail

updated almost 7 years ago

ANN by Giampiero Campa

Adaptive Neural Networks (fuzzy logic, neural networks, adaptive neural netwo...)

demos

contents.m

ann.mdl

image thumbnail

updated almost 7 years ago

Polybase by Giampiero Campa

Multi-Dimensional Polynomial Interpolation Functions (approximation, interpolation, multidimensional)

demos

p=polymake(name,x0,XR,varargin)

polycomb(varargin)

image thumbnail

updated 7 years ago

ByteView by Giampiero Campa

Signal composition/decomposition into different types. (simulink, numbers, type)

byteviewer

image thumbnail

updated 7 years ago

savedata by Giampiero Campa

Saves data to a file at the end of the simulation (simulink, save, to file)

save53

image thumbnail

updated 7 years ago

simsort by Giampiero Campa

Sorts vectors using quicksort. (simulink, sort, qsort)

simsort

image thumbnail

updated 7 years ago

smxl by Giampiero Campa

The Simulink MatriX Library (SMXL) - a collection of blocks that handle matrices in Simulink. (simulink, matrix, matrices)

demos

slblocks

contents.m

image thumbnail

updated almost 8 years ago

Attractors by Giampiero Campa

Nonlinear systems generating attractors. (fractals, attractors, attractor)

sfunxyz(t,x,u,flag,ax,varargin)

sfunxyzd(t,x,u,flag,ax,varargin)

Contents.m

image thumbnail

updated almost 8 years ago

musysid by Giampiero Campa

Mu-Tools based Multivariable System Identification (system identification, multivariable, system)

G=phasefix(ff)

[fr,sp,dfr,dsp]=ff2vm(ff)

[th,datan]=rarx3(y,u,adm,adg,data0)

image thumbnail

updated almost 8 years ago

Dequiv by Giampiero Campa

Digital Equivalents Library (filter design, filter analysis, digital filters)

demos

slblocks

contents.m

image thumbnail

updated almost 8 years ago

Shark by Giampiero Campa

Nonlinear 6DOF Model of an Underwater Vehicle (simulation, underwater, marine)

J=rpy2J(rpy)

R_eb=rpy2R_eb(rpy)

[Cl,Cd,xcp]=a2clcdxc(alfa)

image thumbnail

updated almost 9 years ago

4BNoise by Giampiero Campa

MultiBand (GPS) Noise (simulink, noise, gps)

gpsnoise

image thumbnail

updated 9 years ago

Closed Universe by Giampiero Campa

Wraps the input vector into a given hypercuboid (simulink, wrap, wrapper)

ClosedUniverse

image thumbnail

updated 9 years ago

Tennis by Giampiero Campa

Fairly detailed simulation of a tennis ball flight and bounce. (mechanical modeling, tennis, aerodynamics)

[Psw,Pww,Pws,Pss]=sstrat(Gs,Qs,Gw,Qw)

[Vbo,Wbo]=tnsbounce(Vb,ts,Vs,Ns,cor,cof,plt);

[pL,tL,ncl]=tnsstroke(p0,v0sph,ts,plt);

image thumbnail

updated 9 years ago

3D Rotations by Giampiero Campa

3D Space Coordinate Transformations (mechanical modeling, coordinates, rotation matrices)

Mb=m2m(Ma,T)

T=x2t(x,str)

x=t2x(T,str)

image thumbnail

updated 9 years ago

chb by Giampiero Campa

change base (base, change, strings)

chb(A,a,b)

image thumbnail

updated 9 years ago

3DScope by Giampiero Campa

Multitrack 3D Simulink Scope. (simulink, multitrack, 3d)

sfunxyz(t,x,u,flag,ax,varargin)

lorenz3d

m3dscope

image thumbnail

updated 10 years ago

UnWrapper by Giampiero Campa

Unwraps angles so that continuity is restored. (simulink, angle, wrap)

unwrapper

image thumbnail

updated 10 years ago

Scale by Giampiero Campa

Linear scaling. (simulink, linear, affine)

scale

image thumbnail

updated 12 years ago

aero2vr by Giampiero Campa

Virtual Reality toolbox interface for airplanes. (aerospace, aeronautics, aerodef)

aero2vr

Contact us