image thumbnail

updated 3 months ago

structfun2 by Denis Anikiev

Apply a binary operation function to each field of two input structures (structfun, structure, structures)

structfun2(fun,struct1,struct2)

image thumbnail

updated 3 months ago

Prefixed-String Conversion (SI or Binary) by Stephen Cobeldick

Convert between numeric values and SI (or binary) prefixed strings. (data, communications, iso 80000)

binum(str,uni)

bipre(val,sgf,pfx,trz)

sinum(str,uni)

image thumbnail

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

Chess Picture for visualizing correlation matrix.zip by Guangdi Li

A nice visualization for highlighting correlation matrix (correlationmatrixvisu..., correlation, matrix)

ArgStruct=parseArgs(args,ArgStruct,varargin)

ChessPicture_Matrix( CorrelationMatrix,XAxisName,YAxisNam...

h=subaxis(varargin)

image thumbnail

updated 4 months ago

MappedTensor class - memory-mapped files by Dylan Muir

A better, transparent memmapfile, with complex number support. (matrix, large tensor, mapped file)

MappedTensor

image thumbnail

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

Time Series Indexing by W. Owen Brimijoin

Outputs means of a time series given a vector of labels and time stamps (time series, array, matrices)

timeseries_indexer(labels,timestamps,win,data)

image thumbnail

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

nanfillts by Oleg Komarov

Fill consecutive NaNs with last available value (time series, fill, nan)

image thumbnail

updated 4 months ago

STRUCTCOMPVIS by Michelle Hirsch

Use visual differencing tool to compare two structures. (structures, cell arrays, structure)

image thumbnail

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

Kepler State Transition Matrix (MEX) by Rody Oldenhuis

Compute Kepler state transition matrix for an arbitrary number of time steps. M and C++ version. (aeronautics, aerospace, kepler)

image thumbnail

updated 4 months ago

CONST structure by Rody Oldenhuis

STRUCT with immutable fields (code, structures, structure)

image thumbnail

updated 4 months ago

XSum by Jan Simon

Fast Sum with error compensation (sum, error, compensated)

InstallMex(SourceFile, varargin)

XSum(varargin)

image thumbnail

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

sisder.m by Daniel

Create Space State system matrix from differential equation (space state, matrix)

sisder.m

image thumbnail

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

cspy.m by Hugo Gualdron

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

cspy(varargin)

image thumbnail

updated 5 months ago

getRobotClass.m by Mustafa Balaban

Utilily for Matlab_JavaAWT_Robot_Project.m (programming)

getRobotClass

image thumbnail

updated 5 months ago

Matlab_JavaAWTRobot_Project.m by Mustafa Balaban

java.awt.Robot class in MATLAB (programming)

Matlab_JavaAWTRobot_Project.m

image thumbnail

updated 5 months 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 5 months 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 5 months 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 5 months ago

HTML_in_MATLAB.m by Mustafa Balaban

HTML usage in MATLAB (programming)

HTML_in_MATLAB.m

image thumbnail

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

maxMinC.zip by Valerio Biscione

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

polyfitn by John D'Errico

Polynomial modeling in 1 or n dimensions (polyfit, modeling, regression)

polyfitn_demo

polydern(p,diffvar)

polyfitn(indepvar,depvar,modelterms)

image thumbnail

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

My Clock by Gentian Zavalani

Matlab code to design an Analog clock (function, my clock, linspace)

My clock

myclock

image thumbnail

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

Arduino IO package: Slides and Examples by Giampiero Campa

Slides for the webinar: "Learning Basic Mechatronics Concepts Using the Arduino Board and MATLAB". (arduino, mechatronics, class)

blink_challenge.m

example_encoders.m

example_io.m

image thumbnail

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

Between numbers by Håvard Falck

Find values betwee original values in a vector (interpolation, vector, linear)

intAB.m

image thumbnail

updated 7 months ago

xyimagesc.m by Anthony Bathgate

Same as imagesc but works when X and Y are not evenly spaced. (image, imagesc, imagescnan)

xyimagesc( X, Y, C, varargin )

Contact us