image thumbnail

updated 3 months ago

STRUCTCOMPVIS by Michelle Hirsch

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

image thumbnail

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

CONST structure by Rody Oldenhuis

STRUCT with immutable fields (code, structures, structure)

image thumbnail

updated 3 months ago

XSum by Jan Simon

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

InstallMex(SourceFile, varargin)

XSum(varargin)

image thumbnail

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

sisder.m by Daniel

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

sisder.m

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

getRobotClass.m by Mustafa Balaban

Utilily for Matlab_JavaAWT_Robot_Project.m (programming)

getRobotClass

image thumbnail

updated 4 months ago

Matlab_JavaAWTRobot_Project.m by Mustafa Balaban

java.awt.Robot class in MATLAB (programming)

Matlab_JavaAWTRobot_Project.m

image thumbnail

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

HTML_in_MATLAB.m by Mustafa Balaban

HTML usage in MATLAB (programming)

HTML_in_MATLAB.m

image thumbnail

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

My Clock by Gentian Zavalani

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

My clock

myclock

image thumbnail

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

Between numbers by Håvard Falck

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

intAB.m

image thumbnail

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

MATLAB Style Guidelines 2.0 by Richard Johnson

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

image thumbnail

updated 6 months ago

Regression with Gradient Descent by Shujaat Khan

Regression with Gradient Descent; A coefficient finding technique for the desired system model (regression, descent gradient, machine learning)

Arbitary.m

Exp_Pred.m

Linear_Pred.m

image thumbnail

updated 6 months ago

CircPlot by Kevin Hellemans

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

CircPlot

image thumbnail

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

ISFUNCTION by Jos (10584)

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

isfunction(FUN)

image thumbnail

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

Contact us