Refine by Content Type

Refine by Time Frame

image thumbnail

updated 1 month ago

Dynamic Time Warping (DTW) by Quan Wang

This package implements Dynamic Time Warping (DTW). (signal processing, machine learning, time series)

dtw(s,t,w)

demo_dtw.m

image thumbnail

updated 8 years ago

Simulink Simulator for a Brushless DC Motor by Devendra Rai

Complete simulator for brushless dc motor based on MATLAB R13. (simulation, bldc simulator, simulator)

control1(t,x,u,flag,J,DF,N,BM,Rr,Rl,delta,KP,KI,KD,basecu...

delay(t,x,u,flag)

CONTROLLER_MOD

image thumbnail

updated 3 years ago

Electricity Load and Price Forecasting Webinar Case Study by Ameya Deoras

Slides and MATLAB® code for the day-ahead system load and price forecasting case study. (electricity, energy trading, model)

createHolidayDates(startDate, endDate)

dynamicDateTicks(axH, link)

fetchDBLoadData(startDate, endDate)

image thumbnail

updated 10 months ago

Decision Tree and Decision Forest by Quan Wang

This software implements decision tree/forest classifier in C++/MEX. (image processing, pattern recognition, machine learning)

TrainDecisionForest(X,Y,forestPath,forestSize,depth,noc)

[Y,P]=RunDecisionForest(X,forestPath)

demo.m

image thumbnail

updated 9 months ago

HMRF-EM-image by Quan Wang

Implementation of the Hidden Markov Random Field Model and its Expectation-Maximization Algorithm (markov random field, expectationmaximizati..., image segmentation)

GI=gaussianBlur(I,s)

[X mu sigma]=HMRF_EM(X,Y,Z,mu,sigma,k,EM_iter,MAP_iter)

[X mu sigma]=image_kmeans(Y,k)

image thumbnail

updated almost 4 years ago

Energy Trading & Risk Management with MATLAB Webinar Case Study by Ameya Deoras

MATLAB code for the generation asset risk analysis case study (energy trading, risk, market risk)

backtestPlantPortfolio(assets, startDate, endDate)

dispatch(capacity, heatRate, VOM, minRun, Elec, NG)

dynamicDateTicks(axH, link)

image thumbnail

updated 1 year 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, simulation, demo)

Kmeans_Pre_Post.m

kmeans_clustering.m

Image_kmeans_main.m

image thumbnail

updated 3 years ago

Credit Risk Modeling with MATLAB by Ameya Deoras

These are the supporting MATLAB files for the MathWorks webinar of the same name. (credit risk, transition matrices, var)

...

Credit_Rating(newData)

GetMigrationFtsCell(id,date,numRating)

image thumbnail

updated 9 years ago

Gabor wavelet filter for texture extraction by Jasmine John

Creates a gabor wavelet filter for texture extraction. (application, gabor wavelet filter, texture extraction)

[gab]=gaborcreate(M,N)

image thumbnail

updated 7 years ago

McCabe-Thiele Method for an Ideal Binary Mixture by Housam Binous

Computes number of theoretical plates. (chemistry, physics, mccabe and thiele dia...)

f=equilib(x)

McCabeThiele.m

image thumbnail

updated 4 years ago

Optical Communications Systems (SOFTDM Ver 1.5) Update Matlab 2010a by David Steckler

Toolbox/blockset about optical comunication system Sonet/SDH mapping over fiber optics (sonet, sdh, communication)

Acerca_SoftTDM.m

Average(u)

Circuito_Decision(u)

image thumbnail

updated 8 months ago

Circle Hough Transform by Quan Wang

Hough transform for circles in binary images (image processing, computer vision, filtering)

[x,y,theta]=circle_in_image(m,n,xc,yc,r)

[xc,yc,r]=circleHough(I,rmin,rmax,P,FS)

h=gaussian3(FS)

image thumbnail

updated 8 months ago

Active geometric shape models by Quan Wang

The active geometric shape model is a novel approach for fitting geometric shapes in images. (image processing, mathematics, optimization)

DD=myspline(D,theta)

GI=gaussianBlur(I,s)

R=correctCurve(r,sigma,iter)

image thumbnail

updated 3 years ago

Electricity Load Forecasting for the Australian Market Case Study by David Willingham

This is a case study of forecasting short-term electricity loads for the Australian market. (artificial intelligen...)

createHolidayDates(startDate, endDate)

create_fit_net(inputs,targets)

createfigure3(data1, data2, S1, C1, data3)

image thumbnail

updated almost 5 years ago

MPEG2 Video Encoder by Ravi Lakkundi

MPEG2 Video Encoder (mpeg2 video encoder, video codec, mpeg2)

Alignbits(BitStream)

Checkruns(block)

PutGOPHeader(BitStream)

image thumbnail

updated 5 years ago

Data Analysis with MATLAB for Excel Users by Michael Agostini

Materials for public seminar of the same name (slides and demos) (external interface, excel com activex bui..., photovoltaic)

checkmotor(rpm, motordata)

createfigure(x1, y1, y2)

energyForecastGUI(varargin)

image thumbnail

updated 9 months ago

GMM-HMRF by Quan Wang

GMM-Based Hidden Markov Random Field for Color Image and 3D Volume Segmentation (image processing, optimization, pattern recognition)

GI=gaussianBlur(I,s)

GMM=get_GMM(X,Y,g)

GMM=get_GMM(X,Y,g)

image thumbnail

updated 9 months ago

Fast Gradient Vector Flow (GVF) by Quan Wang

This package implements the Gradient Vector Flow (GVF) in C++/MEX. (image processing, image segmentation, pattern recognition)

GI=gaussianBlur(I,s)

demo.m

image thumbnail

updated 2 years ago

Mining Economics with MATLAB by David Willingham

Simulates a distribution of Net Present Values of a mine via a forecasting model for Iron Ore Prices (commodities, mining, economics)

FitNPV(NPV)

cashflow(data,NTrials,SYear)

discounting(data,capex,NTrials,sales,discFactorY,salesb)

image thumbnail

updated 3 years ago

Demo files for "Algorithm Development with MATLAB" Webinar by Jiro Doke

These are the demo files for "Algorithm Development with MATLAB" Webinar held on April 5, 2011. (algorithm development, image processing, gui)

BallDetectionGUI(varargin)

ImageGUI(varargin)

colorsPlot(red, green, blue, justGreen)

image thumbnail

updated almost 2 years ago

Satellite Link Budget Evaluator by Hassan Najjar

A GUI software I made to calculate the carrier-to-noise-density ratio of a earth-satellite link. (satellite, communications, link budget)

CtoN0Ratio( PTX, L, Lrain, LFRX, G )

CtoN0Ratio( PTX, L, Lrain, LFRX, G )

atmAttenuation( ~ )

image thumbnail

updated 1 month ago

Machine Learning for Mining & Metals by David Willingham

2 examples for Machine Learning for Mining, Regression & Classification (machine learning, metals, mining)

plotFitErrors.m

plotFitErrors.m

Rsquared(Y, YHat )

image thumbnail

updated 7 years ago

Flash Calculations using the Soave-Redlich-Kwong equation of state by Housam Binous

Perform flash calculations using SRK EOS (chemistry, physics, flash distillation)

f=zakia2(x)

f=zakia3(x)

BinousNasri2.m

image thumbnail

updated 1 year ago

MATLAB for C/C++ Programmers by Adam Filion

Files used in webinar MATLAB for C/C++ Programmers. (coder, compiler, engine)

bar(x)

displayLanes(frameRGB, laneVertices)

findlanes(bbox, Major, Minor)

image thumbnail

updated 6 years ago

Fancy splash screen for compiled .exe GUIs by William Thielicke

Displays your splash screen while loading your compiled GUI (gui tools, example, gui)

matgui(varargin)

image thumbnail

updated 6 years ago

MPC: Multivariable Constrained State Space example by Paul Mc Namara

A constrained MPC stirred tank reactor example (simulation, constrained, mpc)

formRss( p, HN123 )

formcss( p, Upast, f )

futureSetPt( p )

image thumbnail

updated 4 years ago

Deploying a Shared Library by Peter Webb

Example code for "Deploying Shared Libraries" posting in the "Art of MATLAB" blog. (vigenere, cryptography, cipher)

decrypt(ciphertext, key)

encrypt(plaintext, key)

vigenere

image thumbnail

updated 7 months ago

Cooling Load Calculations, Vapor Compression Refrigeration System and Solar Absorption Refrigeration by Tanmay

Work of major Project - Refrigeration and Air Conditioning (cooling load calculat..., absorption refrigerat..., vapor compression ref...)

AK(varargin)

Absorption_System(varargin)

Closing_Box(varargin)

image thumbnail

updated almost 4 years ago

Web Server Demo by Stefan Duprey

How to deploy a MATLAB® made application on a web server (optimization, deployment, compiler)

CelltowerGUI()

circlesIntersect(x)

circlesIntersect(x)

image thumbnail

updated 7 years ago

Temperature Control of a Water Tank by Housam Binous

Uses P, PI and PID control to raise water tank temperature to 80°C. (chemistry, physics, feedback control)

xdot=PID_control(t,x)

xdot=PI_control(t,x)

xdot=P_control(t,x)

image thumbnail

updated 5 years ago

Multivariate Data Analysis and Monitoring for the Process Industries by Sam Roberts

Files from the webinar Multivariate Data Analysis and Monitoring for the Process Industries (statistics, probability, process)

ProcessMonitor

getCurrentProcessStateAsImage()

writeToDB

image thumbnail

updated 6 years ago

SMATLINK - Let Matlab Dance with Mathematica by Leo Chen

Matlab (Frontend) call Mathematica Kernel (external interface, matlab, mathematica)

SMAT_matlabcall_demo_function( x , y )

SMAT_matlabcall_post_process( input_str )

SMAT_matlabcall_pre_process( input_num )

image thumbnail

updated almost 7 years ago

Application of Optimization to the Study of Chemical Processes by Housam Binous

Four Chemical Processes are Optimized (chemistry, physics, chemical processes)

[c,ceq]=alkylation_constraints(x)

f=alkylation_cost(x)

f=filterOPT(Q)

image thumbnail

updated 7 years ago

Mackey-Glass Time Series Forecasting using Method 2 Single Stage Fuzzy Forecaster by Satvir Singh

For Mackey-Glass Time Series Forecasting : Method 2 Fuzzy Forecaster (system identification, mackeyglass, fuzzy)

fsloc(x);

mgts(n);

st1(mydata, np)

image thumbnail

updated 4 years ago

Financial Seminar Demos by Ameya Deoras

Demos commonly used at The MathWorks financial modeling seminars. (finance, modeling, analysis)

PortVaRmc(nsim)

blsimpv(so,x,r,t,call,maxiter,q,tol)

blsvis(varargin)

image thumbnail

updated 10 years ago

Solution of a Maxwell Stefan Diffusion Problem by Housam Binous

Solving the Maxwell-Stefan equations using the shooting methods. (chemistry, physics, maxwellstefan equatio...)

f=shooting(N)

ydot=MaxwellStefan(t,y)

Stefan_Maxwell_Main.m

image thumbnail

updated 1 year ago

DSSS implementation by Zenghua Zhao

Implement DSSS in matlab (dsss, zigbee)

DSSS.m

image thumbnail

updated 1 month ago

COSBOS: COlor-Sensor-Based Occupancy Sensing by Quan Wang

Occupancy distribution estimation for smart light delivery with perturbation-modulated light sensing (image processing, smart lighting, signal processing)

...

A=solve_A_0norm(X,Y)

A=solve_A_1norm(X,Y)

image thumbnail

updated 5 years ago

Creating Web Services with MATLAB® Builder™ JA by Kavita Sukerkar

A simple temperature conversion web service demonstration using MATLAB® Builder™ JA (java builder web depl...)

convertTemperature(tempIn, tempType)

image thumbnail

updated 2 years ago

A Bayesian Adaptive Basis Algorithm for Single Particle Reconstruction by Alp

3D reconstruction algorithm for electron cryo-microscopy. (image processing)

get_stat_grad_with_ctf(s_wdec,maskR,proj,coord_axes,ctfs)

get_wavelet_grad_with_ctf(s_wdec,maskR,proj,coord_axes,ct...

iswt3(wt,varargin)

image thumbnail

updated 14 days ago

Example Deployable SimBiology® App for Evaluating PK/PD Drug Efficacy by Anita

An example deployable MATLAB® app for simulating a mechanistic PK/PD model built using SimBiology®. (simbiology, gui)

TumorGrowthInhibition(varargin)

generateReport(filePath,hFig,tableData)

deployApp.m

image thumbnail

updated 3 months ago

Bidiagonalization of a matrix based on Lapack interface by Sung-Eun Jo

The code computes the bidiagonal matrix decomposition of a matrix by calling Lapack routines. (bidiagonalization, lapack, matrix)

bidiag (varargin)

bidiag_lapack (varargin)

lapack (varargin);

image thumbnail

updated 5 years ago

Using MATLAB(R) visualization in a .NET PictureBox by Martti K

How to bring bitmap data generated from a MATLAB(R) figure into a C# application. (builder ne, net, c)

makebitmap(y, width, height, ThreeDee)

makefigure(y, ThreeDee, PlotOrClose)

makesquare(x)

image thumbnail

updated 7 years ago

Performing random numbers generator from a generic discrete distribution by Gianluca Dorini

This function extracts random numbers distributed over a discrete set; the PDF is user-defined (statistics, probability, random numbers)

gDiscrPdfRnd();

image thumbnail

updated almost 5 years ago

Modeling Variable Annuities with MATLAB by Yi Wang

This demo shows how to price variable annuity product (Guaranteed Minimum Withdrawal Benefit) (va, variable annuities, variable annuity)

calcGMWB(tickers, holdings, startDate, endDate, aWRate, a...

createSurfaceFit(IGWBGrid, initSAGrid, costGrid)

getEquityData(Ticker, FromDate, ToDate, Period)

image thumbnail

updated almost 2 years ago

Making Data Analytics for the Mining Industry Simple with MATLAB by David Willingham

Highlights automatically importing assay text data, perform basic statistics & visualization (mining industry, assay, assay data)

alphavol(X,R,fig)

createFit(z1, c1)

minegui(varargin)

image thumbnail

updated 17 days ago

BOBYQA algorithm by Ulrich Römer

M.J.D. Powell's BOBYQA algorithm using a mexfunction created with dlib's C++ implementation (optimization, bobyqa, powell)

bobyqa(sObjFunName, vX_opt, vX_l, vX_u, svOptions)

image thumbnail

updated 7 years ago

Two step Taylor Galerkin algorithm by Xose Manuel Carreira

The two step Taylor Galerkin algorithm applied to nonlinear structural dynamics (mechanical engineerin..., nonlinear, nmpact)

...

...

Contour1(NN,NE,NEN,X,NOC,FF)

image thumbnail

updated 5 years ago

MATLAB para Programadores C/C++ by Elia Matsumoto

Webinar's slides and demo files. (matlab, matlab compiler, deployment tools)

aplicacao(varargin)

createfigure(data_real1, data_imag1)

daqstopbutton_custom(fig,obj,varargin)

image thumbnail

updated 4 years ago

McCabe-Thiele method GUI for Binary Column Distillation by Peter Cook

A GUI which makes a McCabe-Thiele plot for a binary column distillation. (chemical engineering, distillation, column distillation)

McCabeThieleGUI(varargin)

Contact us