image thumbnail

updated 12 days ago

export_fig by Oliver Woodford

Exports figures nicely to a number of vector & bitmap formats. (jpeg, anti alias, marker size)

image thumbnail

updated 2 months ago

GUI Layout Toolbox by Ben Tordoff

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

callbackexample()

demoBrowser()

displayEndOfDemoMessage(filename)

image thumbnail

updated 3 months ago

inputsdlg: Enhanced Input Dialog Box (v2.1.2) by Kesh Ikuma

Predefined dialog box function to accept user inputs of several forms (gui, inputdlg, dialog)

inputsdlg(Prompt, Title, Formats, DefAns, Options)

inputsdlg_demo.m

inputsdlg_demo_contactinfo.m

image thumbnail

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

Settings dialog by Rody Oldenhuis

Set or change arbitrary structure via a dialog (gui, dialog box, msgbox)

image thumbnail

updated 8 months ago

Simscape Probes by Tom Egel

Probes for viewing physical variables (physical, modeling, simscape)

GroupSignals(varargin)

sl_customization(cm)

ssc_Probes.m

image thumbnail

updated 1 year ago

MATLAB xUnit Test Framework by Steve Eddins

MATLAB xUnit is a unit test framework for MATLAB code. (mtest, unit test, xunit)

MATLAB xUnit Test Framework: Architectural Notes

MATLAB xUnit Test Framework: How RUNTESTS Searches for Te...

MATLAB xUnit Test Framework: How to Put Multiple Test Cas...

image thumbnail

updated 1 year ago

UISplitPane - Split a container (figure/frame/uipanel) into two resizable sub-containers by Yair Altman

Split a container (figure/frame/uipanel) into two resizable sub-containers, like Java's JSplitPane (java, gui, gui tools)

uisplitpane(varargin)

image thumbnail

updated 1 year ago

Panel by Ben Mitch

Like subplot, but easier, and WYSIWYG export to file. Also fixes dashed/dotted lines in export. (specialized, plotting, panel)

demopanel_callback(data)

demopanel_minihist(stats, show_xtick, show_ytick)

true) panel

image thumbnail

updated 2 years ago

geotiffwrite by Jimmy Shen

Write a 2D or 3D array to a single or multi-band GeoTIFF file (geotiff format write ..., earth, science)

geotiffwrite(filename, bbox, image, bit_depth, option)

make_option(action)

image thumbnail

updated 2 years ago

Waveform Generator GUI by Maxim Vedenyov

Generate waveformed signal and play it. Interactive GUI with movable datapoints. (waveform, gui, signal processing)

Waveform Generator GUI

bdf(ha,hfl,uf)

hfl=create_marker(ha,x,y,r,c,uf,no)

image thumbnail

updated 2 years ago

Violin Plots for plotting multiple distributions (distributionPlot.m) by Jonas

Function for plotting multiple histograms side-by-side in 2D - better than boxplot. (plotting, distributions, histogram)

colorCode2rgb(c)

countEntries(m,isRow, keepNaN)

distributionPlot(varargin)

image thumbnail

updated 2 years ago

Circular Statistics Toolbox (Directional Statistics) by Philipp Berens

Compute descriptive and inferential statistics for circular or directional data. (statistics, probability, circular statistic)

circ_ang2rad(alpha)

circ_axial(alpha, p)

circ_axialmean(alphas, m, dim)

image thumbnail

updated 2 years ago

Excel Column Conversion by Mike Sheppard

Converts between column name and number for Excel representation (data import, data export, excel)

Out=ExcelCol(In)

image thumbnail

updated almost 3 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 almost 3 years ago

uipickfiles: uigetfile on steroids by Douglas Schwarz

Many-featured, platform independent file and directory picker. (gui tools, example, uigetfile uigetfiles ...)

uipickfiles(varargin)

image thumbnail

updated 3 years ago

Comparison of C++, Java, Python, Ruby and MATLAB Using Object Oriented Example by Stuart McGarrity

RedBlack Tree Binary Search Example Used to Compare of C++, Java™, Python, Ruby and MATLAB® Code (whitepaper, article, paper)

test_RedBlackTree

NodeVisitor

RedBlackTree

image thumbnail

updated 3 years ago

PADCAT by Jos (10584)

concatenate vectors with different lengths by padding with NaN (v1.2, oct 2011) (matrix, matrices, matrix manipulation)

padcat(varargin)

image thumbnail

updated 3 years ago

Allstats by Francisco de Castro

Many statistics of a vector or matrix (statistics, mean, mode)

allstats(A,varargin)

image thumbnail

updated 3 years ago

textbp: text with legend-style "best" placement by Peter Mao

automatically locates text annotation to minimize figure obscuration (annotation, customization, text)

textbp(string,varargin)

image thumbnail

updated 3 years ago

DRAGZOOM - Drag and zoom tool by Evgeny Pr

DRAGZOOM allows you to handy interactively manage the axes in figure. (drag, zoom, pan)

dragzoom(varargin)

test_2D

test_3D

image thumbnail

updated almost 4 years ago

Intelligent Dynamic Date Ticks by Ameya Deoras

Create plots with date-friendly data cursors and smart date ticks that scale with zooming & panning. (dates, plot, date ticks)

dynamicDateTicks(axH, link, mdformat)

setDateAxes(varargin)

image thumbnail

updated 4 years ago

Text Art by AJ Johnson

Convert images to ASCII text art. (fun, ascii text art, image)

chararray_out=textart(image_data, varargin)

image thumbnail

updated 4 years ago

Move a 3D object with mouse in a traditional 4-view window by Gang Wang

Interactively move a 3D object anywhere in the 3D space with a mouse. (interactive gui, moving 3d objects, graphics)

TDFig(varargin)

image thumbnail

updated 4 years ago

SinkAutoConnect by Mike Anthony

Automatically connects single-inport blocks when block is dropped over a line in Simulink. (sinks, scope, display)

SinkAutoConnect

image thumbnail

updated 4 years ago

Matlab PCT integration with RTDA by Winston Yu

This is the Matlab PCT integration with RTDA based on generic scheduler interface (rtda, distributed, parallel)

copyDataFromCluster(localLoc, remoteLoc, clusterHost)

copyDataFromCluster(localLoc, remoteLoc, clusterHost)

copyDataToCluster(localLoc, remoteLoc, clusterHost)

image thumbnail

updated 4 years ago

Animated Double Pendulum by Alexander Erlich

Show animation of the double pendulum's (mostly) chaotic behavior. (physics, theoretical physics, animation)

double_pendulum(ivp, duration, fps, movie)

double_pendulum_ODE(t,x)

double_pendulum_init.m

image thumbnail

updated 4 years ago

Nested sort of structure arrays by Jake Hughey

Perform a nested sort of a struct array based on multiple fields. (nested, sort, struct)

nestedSortStruct(aStruct, fieldNamesCell, directions)

nestedSortStruct2(aStruct, fieldNamesCell, directions, cl...

sortStruct(aStruct, fieldName, direction)

image thumbnail

updated 4 years ago

Notifier by Benjamin Kraus

Notify you via email or text message when your functions finish or crash. (sendmail, potw, pick of the week)

notifier(recipients, fh, varargin)

image thumbnail

updated 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 4 years ago

fix_lines by Oliver Woodford

Improves the style of lines in MATLAB generated eps files (eps, lines, style)

fix_lines(fname, fname2)

image thumbnail

updated 4 years ago

Progress Bars by Richard Stapenhurst

Attractive and full-featured progress bars. (gui, statistics, measurement)

prog(script_name)

Progress

progress_example.m

image thumbnail

updated 4 years ago

Speeding Up Optimization Problems with Parallel Computing by Stuart Kozola

Files from the webinar: Speeding up optimization problems with parallel computing (aerospace, automotive, demo)

Electron Problem Optimization

First Order Reliability Method using a Simulink Flutter M...

computebestportfolioPCT(expRet,expCov,portSize,targetRet)

image thumbnail

updated 4 years ago

Drawing Color Histograms and Color Clouds by Chaitanya Sai Gaddam

Matlab code to plot color histograms and color clouds (color, color histogram, colour clourds)

createColorHistograms(im_str)

image thumbnail

updated 4 years ago

maxNumCompThreads Replacement by Dirk-Jan Kroon

Returns the number of available CPU cores (maxnumcompthreads, cpu, linux)

maxNumCompThreads(varargin)

image thumbnail

updated 4 years ago

FileSeries - Rename / renumber files, recursive directories by Frederic Moisy

Renaming and renumbering for series of files ; generalize the use of wildcards (*) for CD, LS ... (path, directories, files)

cdw(f)

f=expandstr(str)

fo=rdir(name,opt)

image thumbnail

updated 4 years ago

progbar by Ben Mitch

progbar.m: general purpose progress bar for MATLAB (gui tools, example, progress bar)

[handle]=progbar(pb, progress, msg)

out=rgb(in)

image thumbnail

updated 4 years ago

fixfig by M. A. Hopcroft

FIXFIG modifies a Matlab figure so it can be used in on-screen presentations such as Powerpoint. (plots, figures, powerpoint)

fixfig(fignum,verbose)

image thumbnail

updated 4 years ago

Global Optimization with MATLAB by Stuart Kozola

Demo files from the 2010 webinar "Global Optimization with MATLAB Products" (optimization, genetic algorithm, partical swarm)

Global Minimization of 1D Equation

Springboard for Global Optimization Demos

PlotIterates(x,optimValues,state)

image thumbnail

updated 4 years ago

maze_solution by Image Analyst

Solves mazes using mathematical morphology - find the route through the maze. (game, demo, maze)

maze_solution

image thumbnail

updated 4 years ago

On-figure magnifier by David Fernandez-Prim

Powerful on-figure magnifier, suitable for the publication of compact graphical results (axis, zoom in, axes)

magnifyOnFigure( varargin )

magnifyOnFigure_examples.m

image thumbnail

updated 4 years ago

Set default values by Richie Cotton

A very simple function that initialises a missing or empty value in the caller function. (default, inputs, utility)

SetDefaultValue(position, argName, defaultValue)

image thumbnail

updated almost 5 years ago

exportToZip: Identifies the dependencies of an M-file and creates a ZIP file by Malcolm Wood

Files inside $matlabroot/toolbox are omitted, providing a useful way to package your work (path, directories, files)

exportToZip(funcname,zipfilename)

mydepfun(fn,recursive)

image thumbnail

updated almost 5 years ago

Simulink-GUI Synchronization Example by Will Campbell

Demonstrates how to synchronize GUI and Simulink model settings when user alters one or the other (simulink, gui, gui example)

sl_synch_gui(varargin)

sl_synch

image thumbnail

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

Car by Ronald Biro

Car made out of patchgrids. (gallery, pathwork, grids)

mypatch.m

mypatchBlackish.m

mypatchFrontlight.m

image thumbnail

updated almost 5 years ago

Guitar Tuner by Ryan

Graphical guitar and musical instrument tuner (guitar, tune, tuner)

GuitarTuner(varargin)

image thumbnail

updated almost 5 years ago

Light Bartlein Color Maps by Robert Bemis

Generates one of four colormaps using schemes proposed in technical literature (annotation, customization, colormap)

lbmap(n,scheme)

image thumbnail

updated almost 5 years ago

Example - Dynamic GUI Layout by Jiro Doke

This example shows how you can build a GUI with dynamic UI component positioning (gui tools, example, gui)

myGUI

image thumbnail

updated 5 years ago

GridBagLayout by Jason

A MATLAB class which controls layout and resize of a figure/uipanel/uicontainer. (gui, layout, gridbag)

Using the layout.GridBagLayout object.

layout.AbstractLayout

layout.GridBagConstraints

Contact us