image thumbnail

updated 3 months ago

Routh Array by Hassan Dehghani

Builds the array , and checks stability. (routh, routh array, routh stability crite...)

Routh_Array.m

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

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

Between numbers by HÃ¥vard Falck

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

intAB.m

image thumbnail

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

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

CircPlot by Kevin Hellemans

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

CircPlot

image thumbnail

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

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

makeinstall by Norbert Marwan

Create a single install file for your toolbox distribution. (path, directories, files)

makeinstall(varargin)

image thumbnail

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

ISFUNCTION by Jos (10584)

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

isfunction(FUN)

image thumbnail

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

Regular expression search in cell array of strings by Maximilien Chaumon

Search in cell array of strings. Returns indexes of cells in stead of indexes within cells . (cell, cellstr, regexp)

regexpcell(c,pat,inv)

image thumbnail

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

cicularconvolution of sequences and plotting in GUI by ratan pal singh

circular convolution is a technique of convolution of sequences (circular convolution, plot, stem)

image thumbnail

updated 5 months ago

LOGICALEXPAND by Jos (10584)

expand (or shrink) series in a logical vector (v2.0, feb 2014) (logical, find, shrink)

logicalexpand(TF,N)

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)

image thumbnail

updated 5 months ago

recursive_scriptsearch by Jakob Sievers

Search for strings within multiple scripts (string, search, folder)

dd_out=recursive_scriptsearch(indir,str)

image thumbnail

updated 5 months ago

sum_digits by Daniel Herber

Find the sum of digits of a vector and an interesting script that uses it (digits, number, summation)

sum_digits(x)

dsum_eq_rsum.m

image thumbnail

updated 5 months ago

deflection of a cantilever beam by Abhilash Harpale

calculates the deflection, bending moment and shear force for a cantilever beam. (solid mechanics, structures, civil)

deflection=beam_deflection(load,ei,l,dl)

image thumbnail

updated 5 months ago

immovie2 by Fang Liu

IMMOVIE2 make movie from multiframe superimposed images (image processing, immovie, movie)

immovie2(varargin)

example.m

image thumbnail

updated 5 months ago

Quasi Brownian Motion by lindo Ouseph

particle in a box interacting with the walls only (brownian motion, random walk, random)

QuasiBrownianMotion

image thumbnail

updated 5 months ago

1D Finite Element Method (FEM) Example by Cheuk

A 1D finite element method (FEM) example is provided to teach the basics of using FEM to solve PDEs. (finite, element, method)

a_def(node)

act_quad(dof_pos, ref_quad_pos, num_edges)

compute_RHS_global(RHS_local, loc_glob, num_edges)

image thumbnail

updated 5 months ago

mat2num by Kashi Khorasani

This function converts the input (matrix) into an integer/number comprised of all of the digits. (num2mat, mat2num, vector)

mat2num.m

image thumbnail

updated 5 months ago

num2mat by Kashi Khorasani

This function converts the input (integer) into a matrix comprised of all of the integer's digits. (num2mat, mat2num, factory)

num2mat.m

image thumbnail

updated 5 months ago

factory: simple factorization vector tool by Kashi Khorasani

This function returns a vector containing all factors of the number N (input) (matrix, function, vector)

num2mat.m

image thumbnail

updated 6 months ago

Gaussian Elimination with Pivoting Method by Cheuk

Function uses Gauss elimination with pivoting to solve a linear system in standard format. (linear, algebra, gaussian)

GAUSS_ELIM(A, b)

image thumbnail

updated 6 months ago

vind2sub by Chris

MATLAB's ind2sub function implemented to return a variable length vector (vector, matrix, utility)

indices=vind2sub(siz, ind)

image thumbnail

updated 6 months ago

Compressed Row Storage (CRS) Successive Over-Relaxation (SOR) Method by Cheuk

Function uses Successive Over-Relaxation (SOR) method to solve a linear system in CRS format (sor, successive, over)

CRS_SOR(CRS, b, x, epsilon, w)

image thumbnail

updated 6 months ago

LOGICALFIND by Jos (10584)

Find occurrences of consecutive non-zeros in a vector (v1.0, jan 2014) (find, matrices, search)

logicalfind(V, N)

image thumbnail

updated 6 months ago

Matlab Style Guidelines Cheat Sheet by Jason Nicholson

One page summary of the "MATLAB Programming Style Guidelines" (style, guidelines, programming)

image thumbnail

updated 6 months ago

Progress bar for matlab loops (incl. parfor) by Stefan

A progress bar that shows what percentage of a loop has finished. Based on parfor_progress. (loop, progress, bar)

ProgressBar

image thumbnail

updated 6 months ago

Image/matrix shift by Nikolay S.

Two of my functions used for registration-matrix shifting as alternative to circshift. (circular shift, interp2, matrix manipulation)

shiftedMat=floatingCircShift(inMat, shiftSize)

shiftedMat=normshift(inMat, shiftSize)

varargout=imshift(shiftVec, varargin)

image thumbnail

updated 6 months ago

Jacobian-Free Newton-Krylov (JFNK) method by Cheuk

Function uses JFNK to solve a system of non-linear equations (jacobianfree, newtonkrylov, jacobian)

JFNK(F, x0, epsilon, max_iter)

JV_APPROX(v, F, x)

image thumbnail

updated 6 months ago

CloudConnectivityChecker by Amaria

Checks whether your MATLAB session can connect to the Amazon EC2 cloud. (parallel, ec2, cloud)

image thumbnail

updated 6 months ago

CloudConnectivityChecker_R2012a by Amaria

Checks whether your MATLAB session can connect to the Amazon EC2 cloud (parallel, cloud, ec2)

identifyConnectionErrors(obj, ME)

launchVerification()

(Hidden) AbstractStage

image thumbnail

updated 6 months ago

emptyStruct by David Young

Creates empty struct arrays of various kinds (structures, structure, struct)

emptyStruct(fieldnames, sz)

Contact us