image thumbnail

updated 6 days 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 tools, gui)

uisplitpane(varargin)

image thumbnail

updated 7 days ago

Panel by Ben Mitch

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

demopanel_callback(data)

demopanel_minihist(stats, show_xtick, show_ytick)

true) panel

image thumbnail

updated 21 days ago

Simscape Probes by Tom Egel

Probes for viewing physical variables (scopes, probes, simscape)

GroupSignals(varargin)

sl_customization(cm)

ListProbeNames.m

image thumbnail

updated 26 days ago

GUI Layout Toolbox by Ben Tordoff

Layout management objects for MATLAB GUIs (gui, boxlayout, pick of the week)

callbackexample()

demoBrowser()

displayEndOfDemoMessage(filename)

image thumbnail

updated 2 months ago

export_fig by Oliver Woodford

Exports figures nicely to a number of vector & bitmap formats. (anti alias, figure, embed)

copyfig(fh)

eps2pdf(source, dest, crop, append, gray, quality)

export_fig(varargin)

image thumbnail

updated 6 months ago

geotiffwrite by Jimmy Shen

Write a 2D or 3D array to a single or multi-band GeoTIFF file (earth sciences, dem, earth science)

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

make_option(action)

image thumbnail

updated 8 months 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 11 months ago

Arduino Target by Doug Eastman

Develop applications for the Arduino platform using Simulink®. (arduino, simulink target, rtw target)

Arduino Target

demo_arduino_digital_dimmer

image thumbnail

updated 11 months ago

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

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

colorCode2rgb(c)

countEntries(m,isRow, keepNaN)

distributionPlot(varargin)

image thumbnail

updated 12 months ago

Circular Statistics Toolbox (Directional Statistics) by Philipp Berens

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

circ_ang2rad(alpha)

circ_axial(alpha, p)

circ_axialmean(alphas, m, dim)

image thumbnail

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

Image Segmentation Tutorial ("BlobsDemo") by Image Analyst

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

BlobsDemo.m

image thumbnail

updated 1 year ago

uipickfiles: uigetfile on steroids by Douglas Schwarz

Many-featured, platform independent file and directory picker. (example, potw, multiple file selecti...)

uipickfiles(varargin)

image thumbnail

updated 1 year 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 (article, object oriented, tree)

test_RedBlackTree

NodeVisitor

RedBlackTree

image thumbnail

updated 1 year 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 almost 2 years ago

Allstats by Francisco de Castro

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

allstats(A,varargin)

image thumbnail

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

PeakFinder by Nate Yoder

Quickly finds local maxima (peaks) or minima (valleys) in a noisy signal. (peak finder, chemistry, extrema)

peakfinder(x0, sel, thresh, extrema)

image thumbnail

updated almost 2 years ago

DRAGZOOM - Drag and zoom tool by Evgeny Pr

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

dragzoom(varargin)

test_2D

test_3D

image thumbnail

updated 2 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. (date axes, date ticks, plot)

dynamicDateTicks(axH, link, mdformat)

setDateAxes(varargin)

image thumbnail

updated 2 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 2 years 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 Test...

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

image thumbnail

updated 2 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. (pick of the week, patch, graphics)

TDFig(varargin)

image thumbnail

updated 2 years ago

settings dialog by Rody Oldenhuis

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

settingsdlg(varargin)

image thumbnail

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

Matlab PCT integration with RTDA by Winston Yu

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

copyDataFromCluster(localLoc, remoteLoc, clusterHost)

copyDataFromCluster(localLoc, remoteLoc, clusterHost)

copyDataToCluster(localLoc, remoteLoc, clusterHost)

image thumbnail

updated 2 years ago

Animated Double Pendulum by Alexander Erlich

Show animation of the double pendulum's (mostly) chaotic behavior. (animation, potw, lagrange)

double_pendulum(ivp, duration, fps, movie)

double_pendulum_ODE(t,x)

double_pendulum_init.m

image thumbnail

updated 2 years ago

Nested sort of structure arrays by Jake Hughey

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

nestedSortStruct(aStruct, fieldNamesCell, directions)

nestedSortStruct2(aStruct, fieldNamesCell, directions, clas...

sortStruct(aStruct, fieldName, direction)

image thumbnail

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

freezeColors / unfreezeColors by John Iversen

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

freezeColors(varargin)

unfreezeColors(h)

Contents.m

image thumbnail

updated almost 3 years ago

fix_lines by Oliver Woodford

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

fix_lines(fname, fname2)

image thumbnail

updated almost 3 years ago

Progress Bars by Richard Stapenhurst

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

prog(script_name)

Progress

progress_example.m

image thumbnail

updated almost 3 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 Mod...

computebestportfolioPCT(expRet,expCov,portSize,targetRet)

image thumbnail

updated almost 3 years ago

inputsdlg: Enhanced Input Dialog Box (v1.3) by Kesh Ikuma

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

inputsdlg.m

inputsdlg_demo.m

image thumbnail

updated almost 3 years ago

Drawing Color Histograms and Color Clouds by Chaitanya Sai Gaddam

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

createColorHistograms(im_str)

image thumbnail

updated almost 3 years ago

maxNumCompThreads Replacement by Dirk-Jan Kroon

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

maxNumCompThreads(varargin)

image thumbnail

updated almost 3 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 ... (files, directories, path)

cdw(f)

f=expandstr(str)

fo=rdir(name,opt)

image thumbnail

updated 3 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 3 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, graphics)

fixfig(fignum,verbose)

image thumbnail

updated 3 years ago

Global Optimization with MATLAB by Stuart Kozola

Demo files from the 2010 webinar "Global Optimization with MATLAB Products" (direct search, genetic algorithm, global optimization)

Global Minimization of 1D Equation

Springboard for Global Optimization Demos

PlotIterates(x,optimValues,state)

image thumbnail

updated 3 years ago

maze_solution by Image Analyst

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

maze_solution

image thumbnail

updated 3 years ago

On-figure magnifier by David Fernandez-Prim

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

magnifyOnFigure( varargin )

magnifyOnFigure_examples.m

image thumbnail

updated 3 years ago

Set default values by Richie Cotton

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

SetDefaultValue(position, argName, defaultValue)

image thumbnail

updated 3 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 (potw, dependencies, files)

exportToZip(funcname,zipfilename)

mydepfun(fn,recursive)

image thumbnail

updated 3 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 (graphical user interf..., gui example, simulink)

sl_synch_gui(varargin)

sl_synch

image thumbnail

updated 3 years ago

41 Complete GUI Examples by Matt Fig

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

GUI_1()

GUI_10()

GUI_11()

image thumbnail

updated 3 years ago

Car by Ronald Biro

Car made out of patchgrids. (bmw roadster, gallery, grids)

f=mypatch(p,kb,kc)

f=mypatch(p,kb,kc)

f=mypatch(p,kb,kc)

image thumbnail

updated 3 years ago

Guitar Tuner by Ryan

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

GuitarTuner(varargin)

image thumbnail

updated 3 years ago

Light Bartlein Color Maps by Robert Bemis

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

lbmap(n,scheme)

image thumbnail

updated 3 years ago

Example - Dynamic GUI Layout by Jiro Doke

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

myGUI

Contact us