image thumbnail

updated 3 days ago

Pairs Trading Strategy by tadeveloper

A pairs trading strategy implemented in MATLAB. (computational finance, trading, backtesting)

PairsTradingStrategy(sys)

MATLAB pairs trading strategy

image thumbnail

updated 3 days ago

Lloyd's Algorithm by Aaron Becker

Starts with a point set, repeatedly moves each point to centroid of Voronoi cell. (lloyds algorithm, simulation, robot coverage)

lloydsAlgorithm(Px,Py, crs, numIterations, showPlot)

image thumbnail

updated 7 days ago

Birthday Cake by Amol Mahurkar

This code bakes a birthday cake for someone special to whom you wanna surprise on his/her birthday (image processing, gui, mathematics)

Birthday_gift()

image thumbnail

updated 10 days ago

K means clustering for Image Compression by Vinay Kumar Tadepalli

K-means clustering is a popular vector quantization method for data compression. (image processing, demo, mathematics)

Kmeans_Pre_Post.m

kmeans_clustering.m

Image_kmeans_main.m

image thumbnail

updated 14 days ago

Spherium by Andrew French

Wield the power of OpenGL and create ammonites, Klein bottles and curious spheria! (demo, printing, mathematics)

Hradial(r,n,L,Z,A)

LgivenN(N)

MgivenL(X)

image thumbnail

updated 14 days ago

Performance in object-oriented matlab code by Dimitrios Korkinof

A very simple example to demonstrate an observation of mine regarding the use of classes in matlab. (demo)

F(N)

C1

C1_h

image thumbnail

updated 18 days ago

SIMULATION OF PULL-IN EFFECT IN MEMS CAPACITOR USING GUI IN MATLAB by piyush kant

near the 2/3rd of total gap between the plates the response of the mems capacitor gets unstable. (mems, capacitor, simulation)

piyush(varargin)

sim1(varargin)

sim2(varargin)

image thumbnail

updated 20 days ago

Accelerating Heat Equation on the GPU by Simone Hämmerle

A GUI for comparing the performance of different implementations of the heat equation on CPU and GPU (gpu, speedup, demo)

heateqGUI(varargin)

heateq_cpu_filt(k, n, Ts, L, c,h)

heateq_cpu_ind(k, n, Ts, L, c,h)

image thumbnail

updated 1 month ago

Color-balance demo with GPU computing by Kye Taylor

Use GPU in MATLAB to perform white-balance operation to input image. (graphical processing ..., gpu, high performance comp...)

whitebalance(imageData)

whitebalance_cuda(imageData)

whitebalance_gpu(imageData)

image thumbnail

updated 1 month ago

Sphere Collider by Ligong Han

This is a simple physics engine for simulating sphere collision. (simulation, demo, physics)

SphereCollider(balls,ball_pos,ball_v,varargin)

combination(m,n,r)

image thumbnail

updated 1 month ago

Interactive Finite Difference Time Domain Toolbox by Soeren Schmidt

2-dimensional FDTD-Toolbox (Yee Grid,Matrix based,current like sources,PML boundaries, GUI based) (fdtd, finite difference tim..., simulation)

B=pmlerw(M,w)

Startsimulation

checkepsmu

image thumbnail

updated 1 month ago

MAGIC - MATLAB Generic Imaging Component by Mark Hayworth

Tutorial GUI to demonstrate basic functionality of various controls on the GUI (demo, gui, gui example)

MoveMask(varargin)

magic_gui(varargin)

image thumbnail

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

Example of Sharfetter-Gummel (SG) and Improved SG algorithm by Vasily Kozhevnikov

Explains how to use SG and ISG-0 routine for drift-diffusion flux reconstruction FV schemes. (finite volume, method of lines, sharfettergummel)

Kulikovsky_SG_ISG0

image thumbnail

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

BER of M-QAM over Rayleigh channel by Sourav Mondal

This program gives simulated results of BER over Rayleigh fading channel. (communications, data import, data export)

QAM_rayleigh(M, EbNodB)

qam_run.m

image thumbnail

updated 1 month ago

N-Dimensional Trapezoidal integral by Mohammed Sadeq Al-Rawi

See title. (communications, biotech, image processing)

trapezoidal_rule_nd_integral(x, mat, N)

image thumbnail

updated 1 month ago

quickfindstr by Manel Soria

Finds the index of an element in a SORTED list of strings in O(log(N)) time (demo, data import, statistics)

loc=quickfindstr(el,list)

image thumbnail

updated 2 months ago

JPEG-based computing by Boris

This is a function to test a JPEG-based encoding/decoding algorithm (demo, image processing, compression)

entropy_cod( input_matrix, n)

get_quantization( q )

huffman_cod( input_matrix)

image thumbnail

updated 3 months ago

Wave Player Visualizations (Geek) by Suraj Kamya

Kviz_playerV1 is Kamya Visualization music player Version 1 have a number of Geek Visz (3D-also) (gui, project, sound processing)

Kviz_Player_V1(varargin)

image thumbnail

updated 3 months ago

Model View Control Pattern using GUIDE by Chris Schwarz

A simple GUIDE with Uicontrols is modified to demonstrate the application of MVC in Matlab. (demo, gui, design pattern)

main()

measures(varargin)

controller

image thumbnail

updated 3 months ago

Hamming Code by Marc-Andre Robichaud

Hamming error correction codes, with functions to add/remove parity bits to binary strings. (wireless, signal processing, demo)

E=insert_parity_bits(message,nbp)

E=insert_parity_spots(message,nbp)

P=generate_hamming_matrix(coded_message,nbp)

image thumbnail

updated 3 months ago

MatLabPiano by Alex Dytso

This is a simple code that generates music by pressing keys. (demo, simulation)

MatLabPiano

image thumbnail

updated 3 months ago

Rolling statistics by Jean-Yves Tinevez

Convenience utility made to compute descriptive statistics without storing data. (signal processing, image processing, data exploration)

rollingstats

RollingStatsDemo.m

image thumbnail

updated 4 months ago

Compression (shannon fano) by John Diaz

Compression (shannon fano) gui (communications, demo, gui)

codificacion(varargin)

image thumbnail

updated 4 months ago

Matlab Code Gaussian Elimination Method by Muhammad Ammad

Source = http://crunchmodo.com/matlab-code-gaussian-elimination-method/ (gaussian elimination ..., gaussian elimination, gaussian)

gauss_elimnation

image thumbnail

updated 5 months ago

tetris by Alfonso Martinez

juego clasico del tetris con interfaz grafica haciendo uso del mouse (tetris, gui, guide)

tetris(action)

image thumbnail

updated 5 months ago

Simulink Support for Kinect by Takashi Chikamasa

Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. (image processing, instrument driver, demo)

checkDeviceBlock(model, maskType)

checkIMAQBlock(model, blk)

corner_detection_viewer(block)

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

Simulink for PCV (Point Cloud Viewer) by Takashi Chikamasa

Simulink for PCV is a block for 3D Point Cloud View and wrapped native OpenCV library. (image processing, simulink, demo)

makeInfo=rtwmakecfg()

makecmexfile4pcv

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

3D image stack viewer by boyexex

Current version only accept gray-scale images. Just format your image stack into a 3D array. (image processing, biotech, demo)

Image_stack_viewer( im_stack )

image thumbnail

updated 7 months ago

Deflection of a Square Plate Calculated With PDE Toolbox by Bill Greene

Deflection of a Square Plate Calculated With PDE Toolbox (pde, demo, simulation)

boundaryFileClampedPlate( p, e, u, time )

clampedSquarePlateExample

image thumbnail

updated 7 months ago

Belousov-Zhabotinsky reaction on 2-manifold by Anton Semechko

Design a texture for a triangular surface mesh by simulating a Belousov-Zhabotinsky reaction (reactiondiffusion, texture, belousovzhabotinsky r...)

ABC=BZreactionOn2Manifold(TR,ABCo,abc,Nitr)

TR=TriQuad(TR,W)

image thumbnail

updated 7 months ago

Nested function, graphical user interface (GUI) and GUIDE tool by Bogumila & Zbigniew MROZEK

Nested function helps tuning 2-nd order oscilator: d2x/dt2 + beta*x + x = 0 with interactive GUI. (demo, gui, modeling)

oscillator.m

image thumbnail

updated 7 months ago

Parallel Computing test (Ordinary Differential Equation) by Bogumila & Zbigniew MROZEK

Describes how to use Parallel Computing Toolbox to speed up computing with multi core computer. (multicore, dualcore, parallel computing)

ode1000.m

m9911

m9912

image thumbnail

updated 7 months ago

Animated traffic lights on road intersection -- OOP (object oriented programming) demo by Bogumila & Zbigniew MROZEK

simple classes and superclass are used to arrange flexible object oriented programming environment (class, automotive, oop)

map

tLamps % trafficLamp

trafficLamp

image thumbnail

updated 7 months ago

ABD Laminate Builder by oteast

mfile builds shell/plate composite structure (hulls, decking, & body fenders) effect. props. (composite, mechanics, materials)

ABDlam(Infile,Outfile)

image thumbnail

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

Data Encryption Standard (DES) by Yue Wu

The last generation of encryption standard, good for cryptography study and cipher design. (cryptography, data encryption, demo)

DES(input64,mode,key)

image thumbnail

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

Four-Bar Polode Animation by Don Riley

Animates all classes of 4-bar mechanisms, plots instant center paths, allows link length changes. (kinematics, animation, 4bar)

Animate_Four_Bar_Polodes

Four-Bar Polode Animation

image thumbnail

updated 8 months ago

Diffraction of tophat profiles using fourieroptics by Christian

Computation of the diffraction pattern of a gaussian or supergaussian(tophat/flattop) profile. (demo, gui, physics)

fourieroptics.m

supergauss( N,targetsize,z0,E0,lambda,w,p )

gui_beam_shape.m

image thumbnail

updated 8 months ago

Select Data by Joshua Stough

Select original data through a projective plot of that data. (data exploration, gui, demo)

generalSelectData(X, projdirs)

getProjectionDirs()

image thumbnail

updated 9 months ago

Unscented Kalman Filter (UKF) modeling of FitzHugh-Nagumo dynamics by Henning Voss

Unscented Kalman Filter (UKF) applied to FitzHugh-Nagumo neuron dynamics. (unscented kalman filt..., fitzhughnagumo, estimation)

FitzHughNagumo()

image thumbnail

updated 9 months ago

Random Sample from Discrete PDF by Joshua Stough

Inverse transform sampling to generate random sample from pdf given by domain x and p(x). (data exploration, statistics, demo)

gammadis(a,b,x)

gaussdis(mean,var,x);

pdfrnd(x, px, sampleSize)

image thumbnail

updated 11 months ago

Fit 2D gaussian function to data by Gero Nootz

Fits a 2D Gaussian function to simulated data. (demo, image processing, lsqcurvefit)

D2GaussFunction(x,xdata)

D2GaussFunctionRot(x,xdata)

mainD2GaussFitRot.m

image thumbnail

updated 11 months ago

Toolbox BOD Version 2.5 by Gert-Helge Geitner

Digital Amplitude Optimum (BOD) for discontinuous control (digital, optimum, discontinous)

J=bod_esp(p,a_o,b_o,c_o,d_o,EZW,QQ,BMEA,ZVe,NVe,NV,TOL)

[GMT,V_Gf_Gr,M_An_Be]=gmt(TD,TB,ToI)

[ParMa,VarMa]=zust_aup1(T,Tel,VTM,VTF,VTL)

image thumbnail

updated 11 months ago

xlsx2matfile by Renwen Lin

Transform all sheets in .xlsx file to .mat file. 把xlsx文件中的表批量转换为mat文件 (data export, data import xlsx mat ..., demo)

xlsx2matfile.m

xlsx2matfile2_d.m

Contact us