image thumbnail

updated 1 hour ago

easy matlab and shell interaction library (ez.m) by Jerry

make it easy to interact with shell, os in matlab (shell, matlab, python)

image thumbnail

updated 2 hours ago

Numeric to English Words by Stephen Cobeldick

Convert a numeric scalar to a string giving the English name of the number value (GB/US). (english, dialect, words)

num2words(num,opts)

image thumbnail

updated 2 days ago

matlab-ParforProgress2 by Andreas

A PARFOR progress monitor for Matlab GUIs and the command line (works with normal for-loops) (parallel, parfor, progress monitor)

image thumbnail

updated 3 days ago

Cell Array to CSV-file [improved cell2csv.m] by Jerry

Writes cell array content into a *.csv file. (cell arrays, array to file, array to text)

cell2csv(fileName, cellArray, separator, excelYear, decimal)

image thumbnail

updated 6 days ago

Linear regression for multiple category data with different slopes for each by Soumya Banerjee

The function does OLS and RMA regression on data that is categorized into two different categories (aerospace, biotech, communications)

regress_plot_twocategories_allslope

image thumbnail

updated 6 days ago

readcsv.m by Dongxi Zheng

This function imports a csv file into a structure array (csv, structure, array)

readcsv(filename, showprgrs)

image thumbnail

updated 11 days ago

Batch Job by Oliver Woodford

Toolbox to spread batch work over multiple MATLAB instances, even on other PCs (batch, batch processing, parfor)

image thumbnail

updated 12 days ago

fast array substitution by Ondrej Budac

a function to substitute entries of an array using rules From(i) -> To(i) (array, subsitution)

subs_array(A, from, to)

image thumbnail

updated 13 days ago

Vectorized Multi-Dimensional Matrix Multiplication by Darin Koblick

Take Any N-D Matrix and Multiply it by another N-D Matrix Without a For-Loop (matrix, matricies, multiplication)

eDim(fND,fSeq)

fDim(ND,dim)

mntimes(x,y,xrowdim,xcoldim,yrowdim,ycoldim)

image thumbnail

updated 13 days ago

circVBuf by Jens Henrik Göbbert

circular vector buffer (constant+fast performance, double buffered) (buffer, circular, vector)

circVBuf_speedtest(bufferSz, vectorLen, stepSize, appendT...

circVBuf

plot_circVBuf_speedtest.m

image thumbnail

updated 17 days ago

Matrix exponential times a vector by Peter Kandolf

Computes EXPM(tA)b, without explicitly computing the matrix exponential, by Leja interpolation. (mathematics, matrix, matrix exponential)

expleja (h, A, varargin)

image thumbnail

updated 26 days ago

Particle Swarm Optimization (Vectorized Code) by Reza Ahmadzadeh

a simple implementation of Particle Swarm Optimization algorithm (PSO) (pso, particle swarm, swarm intelligence)

VPSO.m

image thumbnail

updated 26 days ago

Read TIFF / TIF stacks efficiently, with lazy loading by Dylan Muir

Read a TIFF stack as a memory-mapped tensor. Handles a large range of internal TIFF formats. (tiff, tif, image manipulation)

TIFFStack

image thumbnail

updated 1 month ago

findInPath.m by Dan K

Tests paths (or any other string) to find if it contains a substring (find, regexp, string)

findInPath(pathStr,expr,caseSensitive)

image thumbnail

updated 1 month ago

AgArbTrans_V2.m by Salaheddin Hosseinzadeh

Agilent 33500 Arb Loader (agilent, visa, programming)

visObj=AgArbTrans_V2(ch1_data,ch2_data,temp_Fs,Amplitude)

image thumbnail

updated 1 month ago

cspy.m by Hugo Gualdron

cspy: a color-coded version of sparse matrix viewer spy (spy, colormap, matrix)

cspy(varargin)

image thumbnail

updated 1 month ago

getRobotClass.m by Mustafa Balaban

Utilily for Matlab_JavaAWT_Robot_Project.m (programming)

getRobotClass

image thumbnail

updated 1 month ago

Matlab_JavaAWTRobot_Project.m by Mustafa Balaban

java.awt.Robot class in MATLAB (programming)

Matlab_JavaAWTRobot_Project.m

image thumbnail

updated 1 month ago

replacefartherthan by Chad Greene

Replace or delete values in a surface farther than a given distance from points. (griddata, nan, distance)

replacefartherthan

replacefartherthan.m

image thumbnail

updated 1 month ago

str2html by Robert Cumming

Convert str to HTML format strings for use in uimenus and uicontrols (matlab, string, strings)

str2html ( varargin )

test_str2html ( varargin );

image thumbnail

updated 1 month ago

highest row degree coefficient matrix of a polynomial matrix T(s) by Lazaros Moysis

This function computes the highest row degree coefficient matrix of polynomial matrix T(s). (control design, mathematics, matrix)

Tl=rowdeg(T);

image thumbnail

updated 1 month ago

HTML_in_MATLAB.m by Mustafa Balaban

HTML usage in MATLAB (programming)

HTML_in_MATLAB.m

image thumbnail

updated 1 month ago

Pair-wise Euclidean Distance Matrix by Quan Wang

Computing the distance matrix without loops (data, distance, matrix)

D=distanceMatrix(X)

D=distanceMatrix2(X,Y)

demo1.m

image thumbnail

updated 2 months ago

Multiple Variable Traveling Salesmen Problem - Genetic Algorithm by Joseph Kirk

Finds a near-optimal solution to a variation of the MTSP with variable number of salesmen using a GA (optimization, multiple traveling sa..., mtsp)

mtspv_ga(varargin)

image thumbnail

updated 2 months ago

maxMinC.zip by Valerio

find the largest (or smallest) element in any cell array, nested or not (max, min, cell array)

[maxN]=maxC(data)

[minN]=minC(data)

image thumbnail

updated 3 months ago

num2clip board with column names by Roberto

Easy function to copy a numeric array to the clipboard, allowing to write costum column names. (clipboard, excel, numeric)

num2clip(dat,varargin)

image thumbnail

updated 3 months ago

Phase-Shift Keying by Aniket Mitra

This code does the PSK modulation and demodulation of a randomly generated bit pattern (random, digital communicatio, modulation)

psk.m

image thumbnail

updated 3 months ago

Efficient Vector Rotation Matrix Routine by Darin Koblick

Efficient Method to Determine a Matrix Needed to Rotate One Vector to Another (vector, rotation, euler)

vecRotMat(f,t)

vecRotMatDemo()

image thumbnail

updated 3 months ago

matlab-ClassInheritanceBrowser by Andreas

A tool for managing and organizing classes, with a simple interface and (optional) tree diagram (biograph, class, class inheritance)

image thumbnail

updated 3 months ago

plot_depfun by Christopher Pedersen

plots a graph of the dependencies of a function (code, function, depfun)

plot_depfun(foo,varargin)

plot_graph(names,from,to,varargin)

image thumbnail

updated 3 months ago

plot_subroutines by Christopher Pedersen

graphviz-like plot of the subroutines in a function, and their dependencies (code analysis, function, code)

plot_graph(names,from,to,varargin)

plot_subroutines(foo,varargin)

image thumbnail

updated 3 months ago

Heat Exchanger Solver by Seyyed Ali

Calculating outlet temperatures of a Heat Exchanger using Epsilon-NTU method (boiler, boiling, condense)

[T_hot_out,T_cold_out]=HeatExchanger(m_dot_hot,c_p_hot,T_...

epsilon=effectiveness(NTU,C_r,HE_Type,N)

Test.m

image thumbnail

updated 3 months ago

ndwmean by Russell

Up to n-dimensional weighted mean or average of an array with NaN support (weighted mean, weighted sum, weighted average)

ndwmean(array,weights,directions)

image thumbnail

updated 3 months ago

Towers of Hanoi by Brian Moore

A MATLAB GUI for the popular Towers of Hanoi puzzle game with manual or automatic solution. (towers of hanoi, recursion, gui)

TowersOfHanoi

image thumbnail

updated 3 months ago

fun_removecellrowcols by José Crespo Barrios

Removes the non desired rows or columns from a cell (cell, cell arrays, remove)

fun_removecellrowcols.m

image thumbnail

updated 3 months ago

Generating Gaussian Filter 2D Matrix by Duc Chung Tran

The function is used to generate Gaussian Filter 2D Matrix. (gaussian, filter, matrix)

g=Gaussian_filter(Filter_size, sigma)

image thumbnail

updated 3 months ago

TrueRNG Hardware Random Number Generator Interface / Driver by Matt

Matlab interface to the TrueRNG Hardware Random Number Generator sold by ubld.it (true random number ge..., statistics, probability)

truerng(varargin)

image thumbnail

updated 3 months ago

XMLNode by Jarrod Rivituso

MATLAB class that allows you to use XPath to navigate and extract data from an XML document. (xml xpath java namesp..., xml, namespace)

XMLNode

XMLNodeImpl

startup.m

image thumbnail

updated 4 months ago

MATLAB Style Guidelines 2.0 by Richard Johnson

An updated guide to preferred coding style. (article, conventions, documentation)

image thumbnail

updated 4 months ago

LaTeX table element wrapper by Matthew Arthington

Change the font of certain elements within a LaTeX table string (latex, string)

S=latexWrapTableElements(latexTable,linearIndicesOfElemen...

image thumbnail

updated 4 months ago

Positive-Definite Matrix by Muhammad Asim Mubeen

This function returns a positive-definite symmetric matrix. (matrix, matrices, nonlinear)

Spd_Mat(A)

image thumbnail

updated 4 months ago

Sudoko Solver by Salaheddin Hosseinzadeh

Solves Sudoko (programming, sudoko, for loop)

[table]=block_elimination(table)

[table]=linear_elimination(table)

[table]=locator(table)

image thumbnail

updated 4 months ago

ISO 8601 Date String to Serial Date Number by Stephen Cobeldick

Convert an ISO 8601 Date String to Serial Date Numbers. Auto-detect or select timestamp style. (calendar date, date, datenum)

datenum8601(Str,Tok)

image thumbnail

updated 4 months ago

Latin Hypercube by Nassim Khaled

lhsdesign_modified generates latin hypercube samples (latin, hypercube, doe)

[X_scaled,X_normalized]=lhsdesign_modified(n,min_ranges_p...

image thumbnail

updated 4 months ago

Vehicle Network Toolbox Support Package for Vector CAN Devices by MathWorks Vehicle Network Toolbox Team

Stream CAN bus data into MATLAB and Simulink using Vector CAN Devices (vector)

image thumbnail

updated 4 months ago

Interleave Vectors or Matrices by Steven Shimizu

Interleaves rows or columns of any number of vectors or matrices (interleave, matrix, vector)

interleave2(varargin)

image thumbnail

updated 4 months ago

Bytestream Save Toolbox by Jan Berling

Ultrafast saving of workspace variables as bytestreams. Especially useful for big cells and structs. (save, bytestream, cell arrays)

InBase=fnBaseExist(var1)

cd_ifPathIsValid(varargin)

isValidPathName(pathInput)

image thumbnail

updated 4 months ago

Read Gml by Elias

Stores gml info in hierarchical structure. Derive Adjacency Matrix (graph, gml, struct)

get_adjacency_matrix(graph)

get_next_struct(content, i)

read_gml(filename)

image thumbnail

updated 5 months ago

Find Index by David Pineda

Give a Index near a value searching sequentially in function of the direcction (find, value, vector)

In=find_index(valor,tolerancia,vector,direccion)

image thumbnail

updated 5 months ago

Linear fit with both uncertainties in x and in y by Julien Browaeys

Performs a linear fit with uncertainties in x and y, using a Monte Carlo method (fit, linear, plot)

linfitxy( xdatain, ydatain, xerrin, yerrin, varargin)

Contact us