image thumbnail

updated 2 months ago

find_closest_row by Justin Winokur

Find the index of a row within a larger array while allowing for a tolerance (measurement, data exploration, tools)

found_index=find_closest_row(full_array,row,tol)

image thumbnail

updated 5 months ago

preprocessing, segmentation.. gui by jerin

gui for some common preprocessing and segmentation.. good for quick checks on a given pic. (segmentation, thresholding, gui)

octr(op)

image thumbnail

updated 1 year ago

delvarmat by Raymond Norris

Removes a variable from a MAT-file (path, directories, files)

image thumbnail

updated 1 year ago

MATLAB GUI Makeover by Brian Cody

Static GUI made over to scale nicely with the size of the figure window. (gui, example, gui tools)

Rearranging CHARGUI to Make it Resizable and Dockable

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

ConsoleProgressBar by Evgeny Pr

Console progress bar for long-running operations (progressbar, statusbar, tools)

test_ProgressBar()

ConsoleProgressBar

image thumbnail

updated 2 years ago

xml_io_tools by Jaroslaw Tuszynski

Read XML files into MATLAB struct and writes MATLAB data types to XML (xmlwrite, xmlread, data import)

Tutorial for xml_io_tools Package

base64decode(x, outfname, alg)

base64encode(x, alg, isChunked, url_safe)

image thumbnail

updated 2 years ago

Write Cell Array to Text File by Roland Pfister

A cell array is written to a delimited output file, incl. options for appending & custom delimiters. (array, cell, dlmwrite)

dlmcell(file,cell_array,varargin)

image thumbnail

updated 2 years ago

Doctest - embed testable examples in your function's help comments by Thomas Smith

Put a usage example in the help of your function, then test it to make sure it still works over time (development, documentation, testing)

add3(value)

doctest(func_or_class, varargin)

doctest_compare(want, got)

image thumbnail

updated 3 years ago

Coins by Giuseppe Cardillo

Is there an algorithm to use the max numbers of coins in your pocket? (tools, example, gui)

coins(varargin)

image thumbnail

updated 3 years ago

tidal_ellipse by Zhigang Xu

Consists of two tidal ellipse conversion programs (tools, conversion, tidal ellipse)

[Au, PHIu, Av, PHIv, w, TWOCIR]=ep2ap(SEMA, ECC, INC, PHA, ...

[BEp, BEm]=cBEpm(g, f, sigma, nu, kappa, z, h)

[SEMA, ECC, INC, PHA, w, TWOCIR]=ap2ep(Au, PHIu, Av, PHIv,...

image thumbnail

updated almost 4 years ago

Test Tools - Utilities for unit tests by Jay St. Pierre

Tools that facilitate debugging or writing unit test for MATLAB functions. (development environme..., tools, test)

[t1,t2]=time(command)

[t1,t2]=timesim(model)

disp_num_failures(test_object, num_failures)

image thumbnail

updated almost 4 years ago

Newton-Raphson Loadflow by PRAVI

These matlab m files are used to calculate bus voltages and angles using Newton Raphson iterative me (analysis, newton raphson loadfl..., powerflow)

busdatas(num)

linedatas(num)

loadflow(nb,V,del,BMva)

image thumbnail

updated almost 5 years ago

GUI for Resistance Calculations by Imtiaz Hussain

Its a very simple GUI to calculate Resistance of a four band resistor from color codes. (example, gui, basic electrical)

colorcoding(varargin)

ohmslaw(varargin)

image thumbnail

updated 5 years ago

MATLAB Tips & Tricks by Gabriel Peyre

A list of useful tips and tricks with concise piece of code and comments. (matlab, help, paper)

image thumbnail

updated almost 6 years ago

SHtools - Spherical Harmonics Toolbox by Anna Kelbert

Toolbox for manipulating and plotting vectors of spherical harmonic coefficients (spherical harmonics, manipulating, plotting)

SHCreateVec(lmax)

SHCreateYVec(lmax,lon,colat,unit)

SHDecompose(vec,lmax)

image thumbnail

updated 6 years ago

A simple Matlab GUI program by Ahmad Kolahi

A simple Matlab GUI program (gui, example, geometry)

Tank(varargin)

image thumbnail

updated 6 years ago

units_gui1 by John Wetters

Matlab GUI for units conversion (gui tools, example, units)

decode_input_units(h,menu);

decode_type(h,handles);

load_listbox1(index,handles)

image thumbnail

updated 6 years ago

waitwaitbar by Peder Axensten

Creates a waitbar that only shows after delay seconds. (gui tools, example, waitbar)

waitwaitbar(name, delay, varargin)

image thumbnail

updated 7 years ago

timer by Igor Kaufman

TIMER.DLL is a MEX-file intended to create MATLAB callbacks caused by W95 timer events (timer, tools, mex)

tmclock( command )

timer.m

image thumbnail

updated 7 years ago

Get File and Put File that remembers last location by Rami Neseem

uigetfile and uiputfile together in one fcn with last file memory (example, gui tools, get file)

PutGetFile2(FilterSpec,DialogTitle,DefaultName,Option,Defau...

image thumbnail

updated 7 years ago

matbrows by Joshua Malina

Matbrowse is GUI-based function for managing MAT-Files. (to load a matrix cont..., gui, files)

matbrowse_gui()

res=matbrowse(command)

image thumbnail

updated 7 years ago

inpdlg by Joshua Malina

An enhancement for the input_dlg.m supplied in matlab 5.3. (gui tools, example, input dialog)

[Answer, figfmen, AnsFlg1] =inpdlg(Prompt, Title, NumLines,...

inpdlg_demo.m

image thumbnail

updated 7 years ago

Collatz by Matt Fig

Tools for examining the Collatz sequence. (collatz, sequence, tools)

[]=collatzrange(n,d)

collatz(n)

collatz=collatzbackwardward(n,cnt)

image thumbnail

updated 7 years ago

Simple Neural Network by Timothy Felty

A very simple 2 layer neural network (neural network, perceptron, tools)

output=NN2(weights,inputs,af)

tweights=NN2train(IWeights,TDIN,TDOUT,LR,ErTh,AF)

weights=NN2weights(dims)

image thumbnail

updated 7 years ago

saveppt by Mark Brown

This function saves Matlab figure windows or Simulink models to a Powerpoint file. (activex, powerpoint, tools)

saveppt(filespec,titletext,prnopt)

image thumbnail

updated 7 years ago

Create Interactive GUIs by Stefan Bleeck

Produce powerful all-purpose GUIs with minimal effort. (user interaction, simple, utilities)

combi=slidereditcontrol_set_range(combi,duration)

combi=slidereditcontrol_set_raweditvalue(combi,value)

combi=slidereditcontrol_set_rawslidervalue(combi,value)

image thumbnail

updated 7 years ago

XML parsing tools by Charles Lehalle

xmltools is a MATLAB tool designed to handle XML data. (xml, tools, parsing)

xmltools( arg, out_file, varargin)

image thumbnail

updated almost 10 years ago

MakeContents by Anil Prasad

MAKECONTENTS(STRING) creates a standard "Contents.m"file in the current directory (path, directories, files)

MakeContents(aString, flags)

image thumbnail

updated 10 years ago

Advanced Control with MATLAB and Simulink by Jerzy Moscinski

Companion Software (controls, advanced control, concepts)

Chen_adaptive(t,x,u,flag,nunf1,nunf2,nung1,nung2,lrf,lrg,lr...

Chen_adaptive(t,x,u,flag,nunf1,nunf2,nung1,nung2,lrf,lrg,lr...

NEMOL(t,x,u,flag,nA,nB,k,nun,lr,offset,ts);

image thumbnail

updated 10 years ago

make_depend by Bjorn Gustavsson

make depend makes a list of functions used in a .m-file (path, directories, files)

make_depend(fname)

image thumbnail

updated 10 years ago

f77toM by Chris Cornuelle

f77toM is a Perl 5 script to convert one or more F77 or F90 files to Matlab M-files. (external interface, perl, f77)

image thumbnail

updated almost 11 years ago

Tab panel example by Bill York

A sample tab panel built using GUIDE. (example, gui, tabpanel)

tabpanel(varargin)

tabpanelfcn(fcn, varargin)

image thumbnail

updated 11 years ago

linewidthdlg.m by Jordan Rosenthal

Dialog box to graphically chose a linewidth. (gui tools, example, line width)

linewidthdlg(action)

image thumbnail

updated 11 years ago

tidy by Ben Mitch

tidy desktop windows to maximise available space (development environme..., tools, position)

tidy(pos,extra)

image thumbnail

updated almost 12 years ago

collectcode/filesearch by Brett Shoelson

COLLECTCODE recursively or non-recursively searches for all mfiles;FILESEARCH is a subfunction. (path, directories, files)

collectcode(startpath,recurse,delefirst)

filesearch(extension,startpath,recurse)

image thumbnail

updated 12 years ago

findfiles by Tony Christney

This function finds all files with a specified extension in a directory and all subdirectories. (path, directories, files)

findfiles(extension,directory,recurse)

image thumbnail

updated 12 years ago

filehound by Ronald Ouwerkerk

The M script filehound.m recursively searches directories for files matching a file filter. (path, directories, files)

filehound(filespec)

image thumbnail

updated 12 years ago

maple2matlab by Dirk Tenne

This replaces the "**n" to "^n" and glues the continuing lines together. (external interface, convert input file, tools)

maple2matlab2(in,out)

image thumbnail

updated 12 years ago

int2str2 by Olivier Ledoit

This M-File will print integers with commas every 3 digits (integers, tools, print)

s=int2str2(n)

image thumbnail

updated almost 13 years ago

machine by Ben Quine

This function returns the machine name for a PC running windows. (machine name, tools, function)

computer_name=machine

image thumbnail

updated 13 years ago

keep2 by Mark Lubinski

KEEP2 is a modified version of KEEP which keeps the base workspace variables & clears the rest. (clear variables, tools, keep2)

keep(varargin);

image thumbnail

updated 13 years ago

IsMemberRows by Steven Holden

A PC-Windows MEX file which gives the same functionality as ismember(A,S,'rows'). (matrices, ismember, tools)

IsMemberRows.m

image thumbnail

updated 13 years ago

spawn by William Glenn

SPAWN a child process (console or windows executable). (spawn, tools, child)

spawn.m

image thumbnail

updated 13 years ago

loadgzip by Zoran Nenadic

This is a function that loads gzipped '.dat' files into the Matlab workspace. (data import, data export, gzip)

f=loadgzip(file_name)

image thumbnail

updated 13 years ago

padadd by Dave Johnson

This is a function that concatenates data column arrays of possibly dissimilar sizes. (matrices, tools, data arrays)

padadd(A, x, index)

image thumbnail

updated 13 years ago

trempeak by Padraig O'Suilleabhain

An M-File for automated tremor analysis which returns the amplitude... (tools, mfile, amplitude)

[amplitude,frequency]=trempeak(fname,nchans)

image thumbnail

updated 13 years ago

start_finish by Ishai Hoch

Remembers the last working directory when you exit and returns you to it. (path, directories, files)

finish

startup

image thumbnail

updated 13 years ago

parse by R P Maguire

This M-file returns filenames from the UNIX environment, using wildcards. (path, directories, files)

out=parse(in)

image thumbnail

updated 13 years ago

exlerve by Dr. Jonathan Bar-Sagi

A package to transfer numeric matrices from and to excel worksheets using activex server link. (data import, data export, tools)

a=exl_getmat(target,region,host)

cell2num(X)

conf=exl_setmat(a,target,region,host)

Contact us