image thumbnail

updated 3 days ago

Pairs Trading Strategy by tadeveloper

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

MATLAB pairs trading strategy

PairsTradingStrategy(sys)

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

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 27 days ago

Fibonacci sequence - very easy by Sumit Pokhrel

This prints a set of Fibonacci series (demo)

fibonacci.m

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

Minesweeper Clone by @bmtran

Microsoft Windows XP Minesweeper clone for MATLAB (game, minesweeper, demo)

Minesweeper Clone

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

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

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

simiam

GetArg(S, Name, Default)

ParseArgs(Args, 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

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

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

Power Factor Measurement Block by Saurabh Kabdal

A simple block that can measure the power factor accurately. (power factor, demo, measurement)

kabdalproject6

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

Three way Dual Probability by Alex Dytso

This code simulates a dual between 3 players and compares two strategies (demo, probability)

ThreeWayDualProbability.m

image thumbnail

updated 2 months ago

SM_ModelBasedv2_Order3_ChannelEstimation_3bits.m by hsuancheng chang

using Model Based channel estimation in MIMO (mathematics, signal processing, demo)

SM_ModelBasedv2_Order3_ChannelEstimation_3bits.m

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

Lithium Battery Model, Simscape Language and Simulink Design Optimization by Robyn Jackey

Multi-temperature lithium battery model using Simscape language and Simulink Design Optimization (lithium, battery, demo)

plot_estim_results.m

plot_estim_results.m

plot_estim_results.m

image thumbnail

updated 5 months ago

Rock-Paper-Scissors by Lazaros Moysis

A simple game where you battle an epic war of rock-paper-scissors with the computer! (game, rock, paper)

rock_paper_scissors.m

image thumbnail

updated 5 months ago

Record sound by Le Huy

Record sound (demo)

InputVoice.m

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

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

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

Moon Lander Matlab Game-Example of getting keypressed by Héctor Corte

Lunar Lander game in Matlab, fully functional, and an example of how to get keypressed in figures. (game, simulation, gui)

Moon01.m

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

Pulse code Modulation by Aditya

PCM on a sine wave and a .wav file for demonstration of various processes done during PCM. (communications, simulation, decoder)

final_PCM.m

verify_pcm_next.m

image thumbnail

updated 7 months ago

Monte Carlo Simulation with Simulink by Ryan G

Select blocks to vary parameters for Monte Carlo Simulation. (control design, simulink, gui)

Monte Carlo Simulation with Simulink

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

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

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

Eigen Face Recognition by Vinay kumar Reddy

Face Recognition using Eigen Method (communications, image processing, mathematics)

Mio.m

image thumbnail

updated 8 months ago

pi/4 DQPSK Modulation by Mohsen Farhang

Demonstrates modulation of a sequence of random symbols using pi/4 Differential Phase Shift Keying. (communications, signal processing, wireless)

pi4dqpsk_Demo.m

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

3PHASE BRIDGE INVERTER 120 DEGREE MODE by Saurabh Kabdal

Basic Model (demo, modeling, simulink)

Inverterthreephase120degree

image thumbnail

updated 9 months ago

3PHASE BRIDGE INVERTER 180 DEGREE MODE by Saurabh Kabdal

Basic model of 3PHASE BRIDGE INVERTER in 180 mode (demo, simulation, modeling)

Inverterthreephase180degree

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

Single Phase Full Bridge Inverter by Saurabh Kabdal

Basic model to understand how actually single phase inverter works! (demo, simulation, simulink)

Inverter1

image thumbnail

updated 9 months ago

Three Phase Fully Contolled Bridge Rectifier by Saurabh Kabdal

Model can be used to understand the working of 3 phase fully controlled rectifier. (demo, simulation, simulink)

varyingalphasixpulse

image thumbnail

updated 10 months ago

Step down chopper by Saurabh Kabdal

A simple model to understand the working of step down transformer. (simulink, simulation, modeling)

stepdown_chopper

Contact us