image thumbnail

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

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

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 5 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

replacefartherthan by Chad Greene

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

replacefartherthan.m

replacefartherthan

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

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)

polydern(p,diffvar)

polyfitn(indepvar,depvar,modelterms)

polyn2sym(polyn)

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

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

My Clock by Gentian Zavalani

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

myclock

My clock

image thumbnail

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

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 )

image thumbnail

updated 7 months ago

CircPlot by Kevin Hellemans

Create circular plot of labeled data (vector, circle, plot)

CircPlot

image thumbnail

updated 7 months ago

3D colored bar plot by Johannes

3D bar plot with arbitrary coloring (bar plot, 3d, color)

bar3c(Z,x,y,w,C)

image thumbnail

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

Random Cropped Image Generator by Soumyabrata Dev

This script helps in the generation of cropped image with random offset and random orientation. (cropped image, random, offset)

random_square_grab(InputImage, SizeGrabImage)

image thumbnail

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

flattenStruct2Cell by Paul

Takes a Nested Structure, and returns a linear Cell array (structure, structures, cell arrays)

[cellstack cellnamestack]=flattenStruct2Cell(I)

image thumbnail

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

dbarray - pack and unpack database arrays to matlab arrays by Sven

dbarray lets you directly send/fetch array[] type database fields into native MATLAB variables (database, array, multidimensional)

dbarray.pack( dataIn, dbConn, dataType )

dbarray.packJavaArray( dataIn, jClass )

dbarray.unpack( objIn )

image thumbnail

updated 8 months ago

Clean anonymous functions of excess memory by Matt J

Tries to purge an anonymous function of non-essential workspace variables (anonymous function, memory, parfor)

fh_clean=afclean(fh)

image thumbnail

updated 8 months ago

ISFUNCTION by Jos (10584)

true for valid matlab functions (v3.1, feb 2014) (function, isfunction, matlab function)

isfunction(FUN)

Contact us