image thumbnail

updated 8 months ago

Dynamic Time Warping (DTW) by Quan Wang

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

d=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 6 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 7 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 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 8 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 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 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 7 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 1 year ago

Algorithm Development with MATLAB by Sumit Tandon

Demo files to go with recorded webinar. (data import, gui, image processing)

BallDetectionGUI(varargin)

ImageGUI(varargin)

colorPlanesPlot(rPlane, gPlane, bPlane, justGreen)

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 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 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 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 1 year 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 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 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 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 7 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 4 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 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 almost 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 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)

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 almost 6 years ago

Java Web Example Guide End To End Chapter by Joe Bienkowski

This is the source files for the example discussed in the Java Web Example Guide End To End Chapter (finance, data export, gui)

getMagic(x)

getMagicWebFigure(x)

image thumbnail

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

QR decomposition with constrained diagonal phases (Lapack interface) by Sung-Eun Jo

The code computes the QR decomposition with specific diagonal phases. (qr, diagonal phases, lapack)

lapack (varargin);

qr_diag_arg (A)

qr_diag_phase (A)

image thumbnail

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

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 6 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 almost 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 almost 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 4 years ago

Black-Scholes Option Value Web Application - Java/Tomcat by Sachin Nikumbh

This example code demonstrates how to access Java components generated by MATLAB Builder for Java fr (finance, modeling, analysis)

optionvalue(SpotPrice, StrikePrice, RiskFreeRate,TimeExpi...

webvizroutine(SpotPrice, StrikePrice, RiskFreeRate,TimeEx...

mcc_command.m

image thumbnail

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

java_web_figures_demo by Joe Bienkowski

Java Web Figures Demo Code From Help (external interface, java, web)

getplot

Plotter.html

PlotterRemote.html

image thumbnail

updated 4 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 1 year ago

DSSS implementation by Zenghua Zhao

Implement DSSS in matlab (dsss, zigbee)

DSSS.m

image thumbnail

updated 5 years ago

Edges generation by Jan Valdman

Algorithm generates edges of a conforming 2D/3D triangulation. (edges generation, matrix, 2d)

[element2edges, edge2nodes]=getEdges(elements)

[matrix,I]=deleterepeatedrows(matrix)

entryrows=entryInWhichRows(A)

image thumbnail

updated almost 5 years ago

Access a MATLAB Compiler Generated DLL by Todd Flanagan

Use WIN32 api to load Compiler generated dll at runtime. (external interface, loadlibrary, mcc)

aplusb(a,b)

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 almost 5 years ago

3D Crouzeix-Raviart mortar finite element method by Jan Valdman

Implementation of 3D Crouzeix-Raviart mortar finite element (mathematics, 3d, mortar)

M_CR=stima_massCR_3D(elements3,coordinates,element2faces)

[M_CR Z]=stima_gradgradCR_3D(elements3,coordinates,elemen...

[b_volumeforces, volumes]=rhs_CR_3D(elements3, coordinate...

image thumbnail

updated almost 4 years ago

MICROSTRIP PATCH CALCULATOR by manas das

Microstrip patch dimensions can be found at any resonant frequency. (gui)

untitled(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 5 years ago

ImProc application created with MATLAB(R) Compiler(TM) and Visual Studio(R) by Martti K

How to integrate a MATLAB(R) generated C++ DLL with a Visual Studio(R) MFC application (image processing, demo, visual studio)

myhisteq(in)

myhistimage(in)

myimshow(in)

image thumbnail

updated 3 years ago

Array sorting by satendra kumar

Program for Sorting of Array in Matlab (matlab, array, sorting)

[out]=Array_sort()

Contact us