image thumbnail

updated 2 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 2 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 6 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 9 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 13 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 13 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 15 days ago

Cloose Loop Engine PIL Simulation with Arduino by Antonio Beltran

Closed Loop Engine Controller running PIL Simulation with Arduino Board (arduino, engine modeling, pil simulation)

EngineOL

PILCtrllerCLwArd_Rel

PILEngineCLwArduino_Rel

image thumbnail

updated 17 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 19 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 21 days ago

Canny Edge Detector by Mohamed Athiq

Simple implementation of Canny edge detector in matlab and c++ from textbook algorithm. (image processing, signal processing, mathematics)

CannyEdgedetector.m

image thumbnail

updated 26 days ago

Fibonacci sequence - very easy by Sumit Pokhrel

This prints a set of Fibonacci series (demo)

fibonacci.m

image thumbnail

updated 29 days 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

March 2013 Japanese webinar "Introduction to Image Processing and Computer Vision with MATLAB" by Masa Otobe

Script used in the Japanese webinar for image processing and computer vision held on Mar. 01, 2013. (demo, image processing, computer vision)

S1_1_Index.m

S1_2_Thresholding_morph_coin_rice.m

S1_3_filtering.m

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)

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

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

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

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

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

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

Audio low-pass simple filter by Boris

Filter can be used to attenuate noise in speech (audio, low pass, filter)

AudioLowPassFilter.m

image thumbnail

updated 6 months ago

Automotive Electrical System Simulation and Control by Robyn Jackey

A conventional vehicle electrical system model with alternator, battery, loads, and idle control. (battery, alternator, automotive)

ssc_lead_acid_battery_50Ah_ini.m

ssc_lead_acid_battery_80Ah_ini.m

Battery_Management_Lib

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

GingerBread_Man iterated chaotic map with parameters. Attractor explorer. by Héctor Corte

This is the Gingerbreadman map with parameters to explore variations over the original attractor. (mathematics, demo, physics)

ginger.m

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

Positive buck boost converter by Michael Tumabcao

A positive instead of a negative output buck boost is studied. P-control is just used. (simulation, simulink, demo)

positivebuckboostFinalA

Contact us