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

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

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

Snip.m Snip elements out of vectors/matrices by Nicolas

Solves problems s.a. 'remove all nan' from a vector, 'get rid of 14th row of matrix' with low effort (basic function, matrix manipulation, easy)

[out]=snip(in,arg1,varargin)

image thumbnail

updated almost 2 years ago

Snail/helix matrix indexing by Nikolay S.

The function calculates Snail/Helix formed matrix indexing. (indexing, helix, snail)

iHelix=snailMatIndex(inMatDims, rotDir, growDir)

image thumbnail

updated 2 years ago

Shift matrix by Shalin Mehta

Fast and convenient function for shifting a matrix in 2D. (shift, matrix manipulation, interp2)

Example usage of function shiftmatrix.

out=shiftmatrix(in,xystep,shiftvec,padval)

image thumbnail

updated almost 3 years ago

PADCAT by Jos (10584)

concatenate vectors with different lengths by padding with NaN (v1.2, oct 2011) (matrix, matrices, matrix manipulation)

padcat(varargin)

image thumbnail

updated 3 years ago

repToSize by Jason Kaeding

Replicate and tile an array so that it meets a specified final size. (repmat, circshift, matrix manipulation)

repToSize(A,varargin)

image thumbnail

updated 4 years ago

Squish by Mirko Hrovat

Squish removes ALL singleton dimensions. (matrices, squeeze, singleton)

squish(x)

image thumbnail

updated 4 years ago

Matrix Limits by Robert Bemis

Provides simple syntax to get range of values in N-dim numeric arrays. (matrices, data range, simple)

[x,y]=limits(a)

image thumbnail

updated 4 years ago

Photomosaicing by Hakan

This m-file determines the best X and Y offset values for mosaicing two picture pieces into one. (photomosaicing, matrix manipulation, mathematics)

Assignment6PartA.m

Assignment6PartB.m

image thumbnail

updated almost 5 years ago

cropmat by Wolfgang Schwanghart

crop arrays with axis-aligned minimum bounding box (matrix manipulation, matrix, image processing)

cropmat(IX,varargin)

image thumbnail

updated almost 5 years ago

shuffle label by Wolfgang Schwanghart

randomly relabel a label matrix (image processing, matrix manipulation)

shufflelabel(L,r)

image thumbnail

updated almost 5 years ago

spiral_decomp by Athanasios Makris

Function spiral_decomp decomposes a given matrix into a row vector following spiral order. (matrix manipulation, matrix)

[y]=spiral_decomp(A)

image thumbnail

updated almost 5 years ago

matrix_perimeter by Athanasios Makris

Function matrix_perimeter extracts the outer elements of a matrix in a clockwise sense. (matrix, matrix manipulation)

[x,A]=matrix_perimeter(A)

image thumbnail

updated almost 5 years ago

RANDMAT by Peter (PB) Bodin

Random shuffling of 2D-array elements. (matrices, shuffle, random)

randmat.m

image thumbnail

updated 5 years ago

CIRCULANT (v2.0, feb 2009) by Jos (10584)

(yet another, but fast) Circulent Matrix (matrix, matrix manipulation, matrices)

circulant(A,d)

image thumbnail

updated 5 years ago

NDLINSPACE (v1.1, feb 2008) by Jos (10584)

Generalized LINSPACE: linearly spaced values between mutliple points (matrices, values, interpolate)

ndlinspace(M1,M2,N)

image thumbnail

updated 5 years ago

interweave by John T. McCarthy

This function interweaves (alternates/overlaps) the columns of equal-sized matrices A,B,C... (matrices, interweave, interlace)

interweave(A, varargin)

image thumbnail

updated 5 years ago

RANDPERMBREAK (v1.1, nov 2008) by Jos (10584)

randomize the order of elements within sections of a vector (rand, sections, matrix manipulation)

randpermbreak(N,BP, bpfixed)

image thumbnail

updated 5 years ago

SORTBREAK (v1.0, nov 2008) by Jos (10584)

sort elements of a vector between break points (sort, sections, vector)

sortbreak(X,BP, bpfixed) ;

image thumbnail

updated almost 6 years ago

shift by John T. McCarthy

SHIFT a row or column RELATIVE to the other elements in a MATRIX. (matrices, shift, matrix)

shiftd(A,column,shift,type)

shiftl(A,row,shift,type)

shiftr(A,row,shift,type)

image thumbnail

updated 6 years ago

getborder by Wolfgang Schwanghart

returns a logical border inside or outside a mask (matrices, border logical mask, image processing)

getborder(I,method);

image thumbnail

updated 6 years ago

Meander Function by Fritz Sedlazeck

Runs an Matrix in a Meander style. Used it for scanning an area (matrices, loop, meander)

MeanderFunction(lengthx,lengthy)

image thumbnail

updated 6 years ago

ecu2mat by Alejandro Laorden Arnao

De ecuaciones a matrices (matrices, ecu2mat, spanish)

[val,veci]=numinc(exp)

ecu2mat.m

esbase=base(vectores)

image thumbnail

updated 6 years ago

flat by Vincent

flatten a matrix, i.e. make it a vector (matrices, flat matrix, flatten)

x=flat(x)

image thumbnail

updated 6 years ago

interleave by Jason Blackaby

Interleave two vectors (matrices, interleave, two vectors)

interleave(x,y)

image thumbnail

updated almost 7 years ago

Ignore NaN by Matt G

returns the result of the function of an array ignoring NaN elements (matrices, ignore, nan)

ignoreNaN(X,fun,dim)

image thumbnail

updated almost 8 years ago

Count elements/rows by Elleke Janssen

Counts elements in N-DIM matrices & rows in max 2-DIM matrices (matrices, count, elements)

count(X, ROWS);

image thumbnail

updated 8 years ago

Array tool set by Bill Winter

Set of tools to generalize several Matlab functions (matrices, array, tool)

ndetrend(x,dim,o,b)

nhilbert(x,n,dim)

nnorm(x,dim,p)

image thumbnail

updated 8 years ago

Generalized Array Operations by Douglas Schwarz

Computes generalized array operations by expanding singleton dimensions. (matrices, array, repmat)

genop(op,x,y)

image thumbnail

updated 8 years ago

Treatment of experimental data matrix by Hongxue Cai

Treatment of experimetal data matrix (matrices, data treatment, experimental)

cdata_anal(m1, c1, c2, c3, nc)

image thumbnail

updated almost 9 years ago

Conversing arbitrary length data files to matrix by Steven Huang

This function uses dynamic memory allocation to converse a data file to a matrix (matrices, matrix, file)

File2Matrix(filename)

image thumbnail

updated 9 years ago

sumall by Barun Singh

Sum of all elements in an N-dimensional tensor. (matrices, sum, sum all)

sumall(x)

image thumbnail

updated 9 years ago

Multi Dimension Transpose by Aman Siddiqi

Transposes each plane of an N dimension matrix. (matrices, three, ndimension)

matrix2=multi_dimension_transpose(matrix)

image thumbnail

updated 9 years ago

Random Element by Skynet

Returns elements randomly selected from any matrix. (matrices, rand, random)

randelement.m

image thumbnail

updated 10 years ago

count (mex) by Stefano Gianoli

Counts the number elements in a specified vector or matrix that match a specified criteria. (matrices, count, mex)

count.m

test_count.m

image thumbnail

updated 10 years ago

Stem and Leaf function by Derek Barke

Creates a stem and leaf plot from an ARRAY of variables and a VECTOR x. (matrices, stem, leaf)

stemnleaf(array,x)

image thumbnail

updated 11 years ago

shuffle_orderby by Sara Silva

Two functions: shuffles vectors or matrices, orders according to a predefined order. (matrices, shuffle, order)

[s,myorder]=shuffle(x,varargin)

ox=orderby(x,i,varargin)

image thumbnail

updated almost 12 years ago

Vectorized Safe Reciprocal by Marc Compere

Accepts an input array and returns reciprocals of individual elements without divide-by-zero errors. (matrices, avoid dividebyzero, reciprocal)

safe_vector_reciprocal

image thumbnail

updated 12 years ago

Vectorized FIND by Steven Lord

This function returns the locations of the elements of a vector in a matrix. (matrices, vectorized, find)

I=findin(A,b)

image thumbnail

updated 12 years ago

printmatrix by Stephan Wegerich

formatted matrix display (matrices, format, output)

printmatrix(X,dec);

image thumbnail

updated 14 years ago

IsMemberRows by Steven Holden

A PC-Windows MEX file which gives the same functionality as ismember(A,S,'rows'). (matrices, ismember, tools)

IsMemberRows.m

image thumbnail

updated 14 years ago

padadd by Dave Johnson

This is a function that concatenates data column arrays of possibly dissimilar sizes. (matrices, tools, data arrays)

padadd(A, x, index)

image thumbnail

updated 15 years ago

removeNans by Andrew Hastings

removes NaN rows and columns from data which has been interpolated. (matrices, nan, tools)

removeNaNs(ALLPLANES)

image thumbnail

updated 15 years ago

rotateud.m by Herman Gollwitzer

Complements the functionality of FLIPUD but rotates columns in a circular fashion. (matrices, rotate, flipud)

rotateud.m

image thumbnail

updated 15 years ago

twist.m by Herman Gollwitzer

Rearranges matrices in a circular fashion. (matrices, rearrange, circular)

twist.m

image thumbnail

updated 16 years ago

runlength.m by Owen Kelly

[l,s] = runlength(x,R) parses the vector x into "runs" of constant value. (matrices, runs, runlength)

runlength(x,R)

Contact us