image thumbnail

updated 11 minutes ago

inputsdlg: Enhanced Input Dialog Box (v2.1.1) 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 8 hours ago

Plotly | Online MATLAB Graphing by Chris

Publish your MATLAB figures to the web with one line of code. (plot, data export, gui)

image thumbnail

updated 1 day ago

optimal_weights.m by Christopher

Portfolio allocation with higher order moments under mean-variance, exponential, power utilities (higher order comoment..., portfolio asset alloc..., optimal portfolio wei...)

optimal_weights.m

image thumbnail

updated 28 days ago

Figlet Statement Generator by Michael Chan

Demonstrate how to create figlet statements from font templates. (utility)

ascii2dec( asciiArray )

asciiStringPressIntoFigletFonts( stringToPressFigletFont )

recognizeAscii( stringToPressFigletFont )

image thumbnail

updated 29 days ago

discretefouriertransform.m by NILAKANTHA MEHER

Discrete Fourier transform (general, search, application)

X=discretefouriertransform(Data,timestep)

image thumbnail

updated 2 months ago

List of files from directories/files list or browser by Nikolay S.

Returns cell array of file names, needed by various functions. (dir, utility, data import)

fileNamesList=filesListFromInput(inputsList, flagGUI, fil...

fileNamesList=folderFiles(foldersList, nFolderDepth, file...

fullFileName=filesFullName(inFile, filesExtList, dlgTitle...

image thumbnail

updated 3 months ago

Add a background gradient to plots by Michelle Hirsch

Add a background gradient to plot axes to make them look a little fancy. (graphics, utility, gradient)

image thumbnail

updated 3 months ago

UIGETVARIABLES: Dialog to pass variables from workspace into GUI by Michelle Hirsch

UIGETVARIABLES creates a dialog box for selecting variables from the base workspace (gui, utility, potw)

image thumbnail

updated 3 months ago

Check whether directory is on current MATLAB path by Rody Oldenhuis

Small low-level utility to check whether (list of) directories is/are on the current search path (path, check, membership test)

image thumbnail

updated 3 months ago

newline by Rody Oldenhuis

Returns the newline character for this platform. (newline, text, fprintf)

image thumbnail

updated 3 months ago

Constructor for function_handles by Rody Oldenhuis

Creates evaluable function handles for any function, possibly outside the MATLAB search path (function pathscriptin..., function, function_handle)

image thumbnail

updated 4 months ago

inpoly mex file by Sebastien PARIS

Find points inside or on the border of a polygon (inpoly, points, inside)

test_inpoly

mexme_inpoly.m

image thumbnail

updated 5 months ago

BlockEdfSignalRasterView by Dennis A. Dean, II, Ph.D.

Utility for viewing EDF headers and signals (european data format, edf, utility)

image thumbnail

updated 6 months ago

Link variable from MatFile object by Mitchell

Links partial or entire variable from a MatFile object to pass as object (matlab, matfile, save)

matlinkvar

image thumbnail

updated 7 months ago

ANNOTATEAXES: Annotation object in axes data coordinate by Kesh Ikuma

ANNOTATEAXES places a built-in annotation object and tie it to an axes (utility, graphics, annotation)

annotateaxes(varargin)

image thumbnail

updated 7 months ago

vind2sub by Chris

MATLAB's ind2sub function implemented to return a variable length vector (vector, matrix, utility)

indices=vind2sub(siz, ind)

image thumbnail

updated 8 months ago

Process named Arguments by Alan Robinson

Easily add optional, named arguments to your functions, like this: f('var_name', value). (named arguments, optional arguments, function calls)

procArgs(vars, prefix)

image thumbnail

updated 10 months ago

Stitch by Mark Hayworth

Stiches or averages two image files or two sound files into a single file. (image processing, sound, utility)

Stitch(varargin)

image thumbnail

updated 11 months ago

Relative Filename by Kesh Ikuma

A pair of M-files to convert between full and relative filenames. (file, path, utility)

rel2fullfile(file,refpath)

relfile(file,refpath)

image thumbnail

updated 11 months ago

FFmpeg Toolbox by Kesh Ikuma

A set of wrapper functions to run FFmpeg directly from Matlab (utility, ffmpeg, multimedia)

ffmpeginfo(infile)

ffmpegpath

ffmpegpixfmts()

image thumbnail

updated 11 months ago

LYT - MATLAB Desktop Layout Load or Save by Sky Sartorius

Quickly load or save your MATLAB desktop layout from the command line (matlab, layout, desktop)

lyt(varargin)

image thumbnail

updated 1 year ago

deploypcode - recursively pcode files with help attached by Sven

DEPLOYPCODE recursively searches a directory for .m files, creating encrypted .p files with .m help (pcode, utility, help)

deploypcode(source_dir, target_dir, varargin)

image thumbnail

updated 1 year ago

isscript by Folkert

The function checks if an m-file is a script or not. (script, utility, mfile)

isscript(filename)

image thumbnail

updated 1 year ago

fixuilabels by Kesh Ikuma

Change 'text' uicontrol objects' vertical alignment (gui, utility, java)

fixuilabels(hFig)

image thumbnail

updated 1 year ago

NewFile by Michael Ryan

Create new file from template. (template, utility, coding)

newf(varargin)

fileTypes

image thumbnail

updated 1 year ago

apply2VideoFrames by Nikolay S.

Apply any image processing function applied to all frames of input video. (video, avi, processing)

assignin_value(name,value)

fileNamesList=filesListFromInput(inputsList, flagGUI, fil...

fileNamesList=folderFiles(foldersList, nFolderDepth, file...

image thumbnail

updated almost 2 years ago

XML Parse-n-Find by Kesh Ikuma

XML parser and tag finder (utility, xml, parser)

xmlfind(S,varargin)

xmlparse(xmlfile)

xmlelem

image thumbnail

updated almost 2 years ago

Generates test sample(audio) by Chandra

Generates test samples by randomly combining a known set of test data. (utility, test, random)

generateTestData(data_loc,n,len,save,r)

image thumbnail

updated almost 2 years ago

Get Local System Date Format by Ivan Smirnov

This function returns the local system date format as a MATLAB-friendly date pattern. (utility, date, time)

getsystemdateformat()

image thumbnail

updated 2 years ago

cache_results by Dan Ellis

CACHE_RESULTS - caching function results to disk with transparent tracking of arguments (disk, cache, utility)

cache_results(cmd, args, cachename, cachedir, VERBOSE)

image thumbnail

updated 2 years ago

Clear Most by Jonathan Sullivan

Allows the user to clear all but leave the breakpoints in place. (clear, breakpoints, functions)

clear(varargin)

image thumbnail

updated 2 years ago

strcatrobust: Combine num, char and cell to one cellstr by Renwen Lin

% B = strcatrobust(1, {'a' 'b'},[2 , 3], 't') % B is {'1a2t' '1b3t'}; (data export, data import, str tool)

strcatrobust(varargin)

image thumbnail

updated 2 years ago

Crop video to sub elements by Nikolay S.

This function divides the input video to several parts/sub videos. (avi, compare videos, concat)

outVideos=videoMultiCrop(varargin)

waitbarTimeRemaining(h_waitbar,h_tic,waitbar_progress)

image thumbnail

updated 2 years ago

samesize by Richard Crozier

Determine if all inputs are the same size in all dimensions. (size, dimensions, array)

samesize(varargin)

image thumbnail

updated 2 years ago

Require FEX package by Igor Podlubny

Let the user download and install those File Exchange packages, which your submission needs. (utilities, utility, install)

requireFEXpackage(FEXSubmissionID)

suggestFEXpackage(FEXSubmissionID, RecommendationText)

RequireFEXpackageExample1.m

image thumbnail

updated 2 years ago

Help References by Michael Chan

The objective is to illustrate how certain references may be made to the codes. (equation, documentation, linking)

Example4_1_7(option)

convx( M, h, L, x )

generateSquareWave( length, periodicSamples )

image thumbnail

updated 2 years ago

csprintf: Write formatted strings to cells. by Douglas Schwarz

Write text into a cell array of strings. (utility, strings, sprintf)

csprintf(varargin)

image thumbnail

updated 2 years ago

cmtdtool by Yasumitsu Ito

cmtdtool can reduce and automate manual operations required to perform model-based testing. (gui, simulink, utility)

addExpectedOutputToSignalBuilder(blk,sigName)

cmtdtool.m

createComparingResults(sys,phSim,phExp)

image thumbnail

updated 2 years ago

sldvmisscovtool by Yasumitsu Ito

A GUI tool to obtain test cases for missing coverage objectives (simulink, verification, utility)

[tvec,dvec,siglabels,grplabels]=createSignalBuilderData(s...

_exportTemplate.m

_importTemplate.m

image thumbnail

updated almost 3 years ago

datastore by Ben Mitch

A tool for persisting data associated with the logged in user across sessions of Matlab. (utility, persistent, session)

datastore(app, key, value)

image thumbnail

updated almost 3 years ago

Concatenate video files subplot style by Nikolay S.

Concatenates videos to a single file. Handy for testing videos for differences. (avi, frame, graphics export)

outVideo=concatVideo2D(varargin)

waitbarTimeRemaining(h_waitbar,h_tic,waitbar_progress)

image thumbnail

updated almost 3 years ago

Apply multiple functions in a single function. by Nikolay S.

Allows the user to apply functions to inputs, with various input-output combination's. (variables, structures, utility)

varargout=funXapply(varargin)

image thumbnail

updated almost 3 years ago

setname by Andrew Bliss

Changes the figure name to equal the figure title. (figure name, utility, gui)

setname(ax)

image thumbnail

updated 3 years ago

Pack & Unpack variables to & from structures with enhanced functionality by Adi Navve

v2struct packs and unpacks variables to and from structures with enhanced functionality. (variables, structures, struct)

v2struct

[]=v2structDemo2()

v2structDemo1()

image thumbnail

updated 3 years ago

Plotstack by Christos Saragiotis

A plot utility, to plot graphs one over the other (or one next to the other vertically) (measurement, demo, visualization)

plotstack(X,varargin)

image thumbnail

updated 3 years ago

backup and sync by Zhiqiang Zhang

backupfolder - backup a folder, syncfolder - sync folders, revertbackup - revert previous backups (backup, sync, utility)

backupfolder(p1, p2)

folderdiff(p1, p2, syncdirect)

getbackups(fileName, backupPath, begDate)

image thumbnail

updated 3 years ago

setParameterDefault by Tobias Kienzler

Simple function to set the default value for an optional function argument if omitted or empty. (utility, default, inputs)

isParameterDefined(pname)

setParameterDefault(pname, defval, warn)

image thumbnail

updated 3 years ago

Controllable tight subplot by Nikolay S.

Subplot wrapper, allowing better figure utilization, by tighter axes. (subplot, figure, tight)

h=subplot_tight(m,n,p,margins,varargin)

demo_subplot_tight.m

image thumbnail

updated 3 years ago

glinkaxes: interactive linkaxes by Kesh Ikuma

GLINKAXES lets user, via mouse clicks, to choose the axes to synchronize their axis limits. (handle graphics, utility, interactive)

glinkaxes(varargin)

image thumbnail

updated 3 years ago

LINECMENU by Matt Fig

Utility for creating a standard uicontextmenu for line objects. (uicontextmenu, uimenu, line)

defaultlinecreatefcn(varargin)

dualcolorplot(x,y,F,OPT)

linecmenu(varargin)

Contact us