Refine by Product

Refine by Time Frame

image thumbnail

updated 1 month ago

export_fig by Oliver Woodford

Exports figures nicely to a number of vector & bitmap formats. (data export, export figure, print)

image thumbnail

updated 1 month ago

MATLAB Support Package for Arduino (aka ArduinoIO Package) by MathWorks Classroom Resources Team

MATLAB class and Simulink blocks for communicating with an Arduino microcontroller board (support package, arduino, duemilanove)

example_encoders

example_io

example_mot

image thumbnail

updated 8 months ago

Simulink Support Package for Arduino Hardware by MathWorks Simulink Team

Student-priced microcontroller board (arduino, uno, mega 2560)

image thumbnail

updated 2 years ago

Active Shape Model (ASM) and Active Appearance Model (AAM) by Dirk-Jan Kroon

Cootes 2D/3D Active Shape & Appearance Model for automatic image object segmentation and recognition (asm, active shape model, active shape)

A=imresize3d(V,scale,tsize,ntype,npad)

AAM_2D_example.m

AAM_3D_train_example.m

image thumbnail

updated 5 months ago

M-code LaTeX Package by Florian Knorn

Easily include nicely syntax highlighted m-code in your LaTeX documents. (development environme..., source code highlight..., latex)

image thumbnail

updated 4 months ago

matlab2tikz by Nico Schlömer

A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. (latex, figure, embed)

image thumbnail

updated 3 hours ago

A PHOTOVOLTAIC PANEL MODEL IN MATLAB/SIMULINK by Shivananda Pukh

A circuit based simulation model for a PV cell for estimating the IV and PV characteristic curves. (mppt, pv, solar)

PV_panel

image thumbnail

updated 4 years ago

41 Complete GUI Examples by Matt Fig

41 working GUIs to read and learn. (gui, example, files)

GUI_1()

GUI_10()

GUI_11()

image thumbnail

updated 12 months ago

Android Sensor support from MATLAB by MathWorks Mobile Sensor Connectivity Team

Use MATLAB to acquire sensor data from built-in sensors on your Android device. (android, mobile sensor, accelerometer)

Capturing Azimuth, Pitch, and Roll Example

Capturing and Mapping GPS Example

Count steps with acceleration data from your Apple or And...

image thumbnail

updated 25 days ago

Optical Character Recognition (OCR) by Diego Barragán

The aim of OCR is to classify optical patterns corresponding to alphanumeric or other characters. (application, ocr, optimal character rec...)

[fl re]=lines(im_texto)

letter=read_letter(imagn,num_letras)

OCR.m

image thumbnail

updated 5 years ago

arrow.m by Erik Johnson

Draw a line with an arrowhead. (annotation, customization, arrow)

arrow(varargin)

image thumbnail

updated 2 years ago

Image Segmentation Tutorial ("BlobsDemo") by Image Analyst

Image Processing Tutorial to demonstrate the basic concepts to beginner users. (image processing, demo, potw)

BlobsDemo.m

image thumbnail

updated 4 months ago

Deep Learning Toolbox by Rasmus Berg Palm

Deep Belief Nets, Stacked Autoencoders, Convolutional Neural Nets and more. With examples. (machine learning, deep learning, autoencoder)

image thumbnail

updated 7 months ago

Tools for NIfTI and ANALYZE image by Jimmy Shen

Load, save, make, reslice, view (and edit) both NIfTI and ANALYZE data on any platform (medical, reslice, isotropic)

affine(old_img, old_M, new_elem_size, verbose, bg, method)

bipolar(M, lo, hi, contrast)

bresenham_line3d(P1, P2, precision)

image thumbnail

updated almost 2 years ago

Scalable Vector Graphics (SVG) Export of Figures by Juerg Schwizer

Converts 3D and 2D MATLAB plots to the scalable vector format (SVG). (specialized, plotting, svg)

demo_svg_water

plot2svg.m

simulink2svg

image thumbnail

updated 20 days ago

PeakFinder by Nathanael Yoder

Quickly finds local maxima (peaks) or minima (valleys) in a noisy signal. (signal processing, maxima, minima)

peakfinder(x0, sel, thresh, extrema, include_endpoints)

image thumbnail

updated 1 year ago

Rotate X-axis tick labels by Ben Tordoff

Rotate x-tick labels to any angle, preserving font settings and coping with resize, zoom, pan etc (plotting, xtick)

rotateXLabels( ax, angle, varargin )

image thumbnail

updated almost 4 years ago

freezeColors / unfreezeColors by John Iversen

Use multiple colormaps per figure! Version 2, now works for many types of objects, not only images. (annotation, customization, colormap)

freezeColors(varargin)

unfreezeColors(h)

Contents.m

image thumbnail

updated almost 2 years ago

Grid-Connected PV Array by Pierre Giroux

Two demonstrations of a grid-connected PV array using SimPowerSystems. (pv array, boost converter, power grid)

PV_model_Param

PVarray_Grid_IncCondReg_det

PVarray_Grid_PandO_avg

image thumbnail

updated 6 months ago

Simulink Support Package for Arduino Due Hardware by MathWorks Simulink Team

Student-priced microcontroller board (arduino)

image thumbnail

updated 5 months ago

Arduino IO package: Slides and Examples by Giampiero Campa

Slides for the webinar: "Learning Basic Mechatronics Concepts Using the Arduino Board and MATLAB". (arduino, mechatronics, class)

blink_challenge.m

example_encoders.m

example_io.m

image thumbnail

updated 3 years ago

Generate maximally perceptually-distinct colors by Tim Holy

Choose a set of n colors that can be readily distinguished from each other (color, legend, labels)

distinguishable_colors(n_colors,bg,func)

image thumbnail

updated 1 year ago

Inverted Pendulum Control by Rick Hill

Animation of inverted pendulum LQR control system (lqr control design, inverted pendulum ani..., nonlinear simulation)

image thumbnail

updated 1 year ago

tightfig by Richard Crozier

Remove excess margins from figures. (figure, axes, magrgin)

tightfig(hfig)

image thumbnail

updated 10 years ago

Making Surface Plots From Scatter Data by Zain Mecklai

How to turn a collection of XYZ triplets into a surface plot. (whitepaper, article, paper)

surf_from_scatter.m

image thumbnail

updated 4 years ago

Surface Fitting using gridfit by John D'Errico

Model 2-d surfaces from scattered data (approximation, interpolation, modeling)

gridfit_demo

gridfit(x,y,z,xnodes,ynodes,varargin)

test_main.m

image thumbnail

updated 4 years ago

iPod Scramble Solution by Raj Sodhi

Solves the Scramble game (like Boggle) by Zynga on my iPod. (ind2sub, sub2ind, boggle)

calc_neighbors(k,siz)

insert_qu(wq)

neighbors(siz,loc,varargin)

image thumbnail

updated 2 months ago

COLORMAP and COLORBAR utilities (Jul 2014) by Carlos Adrian Vargas Aguilera

MATLAB color utilities including COLORMAP join and interpolation; freeze and fit COLORBAR, etc. (color, caxis, colormap)

cbfit(varargin)

cbfreeze(varargin)

cbhandle(varargin)

image thumbnail

updated 6 months ago

GUI Layout Toolbox by Ben Tordoff

Layout management objects for MATLAB GUIs (gui, potw, layout)

callbackexample()

demoBrowser()

displayEndOfDemoMessage(filename)

image thumbnail

updated 4 years ago

tight subplot by Pekka Kumpulainen

Fills the figure with axes subplots with easily adjustable margins and gaps between the axes. (plot, subplot, visualization)

tight_subplot(Nh, Nw, gap, marg_h, marg_w)

image thumbnail

updated 1 year ago

Bar Chart with Error Bars by Martina Callaghan

This is a very simple extension of MatLab's bar function to add error bars. (error, bar, errorbar)

barwitherr(errors,varargin)

image thumbnail

updated almost 4 years ago

Tracking red color objects using matlab by A. Bhargav Anand

This program just tracks all red color objects and draws a bounding box around them. (video processing, image processing, object tracking)

getCameraInfo(a)

redObjectTrack.m

image thumbnail

updated 3 months ago

geom3d by David Legland

Library to handle 3D geometric primitives: create, intersect, display, and make basic computations (geometry, 3d, geometric computing)

demoDrawTubularMesh

demoGeom3d

demoInertiaEllipsoid

image thumbnail

updated 2 years ago

EM algorithm for Gaussian mixture model by Mo Chen

EM algorithm for Gaussian mixture. Works on arbitray dimensions with high speed and precision. (em, gmm, mle)

emgm(X, init)

logsumexp(x, dim)

spread(X, label)

image thumbnail

updated 4 months ago

Particle Swarm Optimization (PSO) by Pramit Biswas

Searching/Tuning/Optimizing by Particle Swarm Optimization (PSO) method (particle swarm optimi..., pso, particle)

Particle_Swarm_Optimization (Bird_in_swarm, Number_of_qua...

image thumbnail

updated 8 months ago

Simulink Support Package for Raspberry Pi Hardware by MathWorks Simulink Team

Credit-card sized, low-cost, single-board computer with audio and video input/output (raspberry pi, rasberry pi, rasperry pi)

image thumbnail

updated 1 year ago

SegmentTool: An Interactive GUI for Segmenting Images by Brett Shoelson

Interactively find the best approach to segmenting (masking) your image (image, image processing, gui)

SegmentTool

FindCirclesGUI.m

SegmentTool.m

image thumbnail

updated 5 months ago

Gabor Feature Extraction by Mohammad Haghighat

This program generates a custom Gabor filter bank; and extracts the image features using them. (image processing, computer vision, pattern recognition)

gaborFeatures(img,gaborArray,d1,d2)

gaborFilterBank(u,v,m,n)

image thumbnail

updated 18 days ago

Deep Neural Network by Masayuki Tanaka

It provides deep learning tools of deep belief networks (DBNs). (machine learning)

CalcRmse( dbn, IN, OUT )

GetDroppedDBN(dbn, DropOutRate, strbm)

GetOnInd( dbn, DropOutRate, strbm )

image thumbnail

updated almost 6 years ago

MatlabBGL by David Gleich

MatlabBGL provides robust and efficient graph algorithms for Matlab using native data structures. (graph, bfs, dfs)

Core numbers in MatlabBGL

New features in MatlabBGL version 3.0

New features in MatlabBGL version 4.0

image thumbnail

updated 7 months ago

JSONlab: a toolbox to encode/decode JSON files in MATLAB/Octave by Qianqian Fang

JSONlab is an open-source JSON/UBJSON encoder and decoder (parser) for MATLAB and Octave. (jsonlab, json, matlab)

json=savejson(rootname,obj,varargin)

json=saveubjson(rootname,obj,varargin)

loadjson(fname,varargin)

image thumbnail

updated 8 years ago

Particle Swarm Optimization Toolbox by Brian Birge

With Trelea, Common, and Clerc types along with ... (optimization, emergence, swarm intelligence)

...

[OUT,varargout]=pso_Trelea_vectorized(functname,D,varargin)

[out,varargout]=normmat(x,newminmax,flag)

image thumbnail

updated 6 months ago

Flappy Bird for MATLAB by Mingjing Zhang

MATLAB replica of the viral mobile game "Flappy Bird" (game, gui, graphics)

Flappy Bird

flappybird

image thumbnail

updated 2 years ago

inpaint_nans by John D'Errico

Interpolates (& extrapolates) NaN elements in a 2d array. (nan, inpainting, replace)

(nn(:,1)<1)|(nn(:,1)>n)|(nn(:,2)<1)|(nn(:,2)>m); nn(L,...

valid{ind}; end end

inpaint_nans_demo.m

image thumbnail

updated 1 month ago

boundedline: line plots with shaded error/confidence intervals by Kelly Kearney

Plot one or more lines with a shaded boundary (can represent error, confidence intervals, etc). (bounds line confidenc..., so well programmed, potw)

B=inpaint_nans(A,method)

boundedline(varargin)

outlinebounds(hl, hp)

image thumbnail

updated 1 year ago

Wind Turbine Model by Steve Miller

Wind turbine model including blades, nacelle, pitch and yaw actuation, generator and control system. (wind, wind turbine, wind turbine model)

image thumbnail

updated 11 months ago

SIFT (Scale invariant Feature Transform) Algorithm by Cheggoju Naveen

This code gives you the SIFT keys and their descriptors for a given image. (image processing, not a function)

imagekeypointsmatchingprogram.m

keypointsdetectionprogram.m

image thumbnail

updated 4 years ago

XTICKLABEL_ROTATE by Brian Katz

Rotate XTickLabel to better accommodate long labels and text labels. (annotation, customization, xtick)

xticklabel_rotate.m

image thumbnail

updated 8 months ago

FindJObj - find java handles of Matlab graphic objects by Yair Altman

Find java objects contained within a specified java container or Matlab GUI handle (gui tools, example, java)

findjobj(container,varargin)

image thumbnail

updated almost 8 years ago

Bilateral Filtering by Douglas Lanman

Implements bilateral filtering for grayscale and color images. (filtering, bilateral filter, image abstraction)

bfilter2(A,w,sigma)

cartoon(A)

colorspace(Conversion,varargin)

Contact us