image thumbnail

updated almost 4 years ago

Remove Outliers by Vince Petaccio

Uses the Thompson Tau technique to remove outliers from a vector containing statistical data. (thomspon, tau, method)

removeoutliers(datain)

image thumbnail

updated almost 4 years ago

Least Common Multiple Set by Josh

Input a set of numbers as an n-dimension array, get their least common multiple. (least, lcm, multiple)

lcms(numberArray)

image thumbnail

updated almost 4 years ago

Reshape 1D to 2D with Balance by Dr. Murtaza Khan

Reshapes 1D array to 2D array with size of rows and columns of B is balance (reshape, vector, 1d)

B=reshape1dto2dbalance(A)

factor2(k)

reshape1dto2dbalanceTest.m

image thumbnail

updated almost 4 years ago

Differential Encoding/Decoding by Dr. Murtaza Khan

Basic Differential Encoding/Decoding of input vector of numeric values (decoding, coding, coding theory)

vo=diffdecodevec(vi)

vo=diffencodevec(vi)

diffencodevecTest.m

image thumbnail

updated 4 years ago

findsubmat by Matt Fig

Finds one matrix (a sub-matrix) within another. (submatrix, find, inside)

findsubmat(A,B)

image thumbnail

updated 4 years ago

proj by Antonio Trujillo-Ortiz

Projection of a vector A onto vector B. (projection, vector, linear algebra)

proj(a,b)

image thumbnail

updated 4 years ago

TNB Frenet Frame by Juan Pablo Gomez Perez

GUI that plots f(t) curves and shows the tangent, normal and binormal vectors travelling through it (plot, plotting, function)

H=TNBbad(varargin)

TNBdef.m

TNBeval();

image thumbnail

updated 4 years ago

BIN2MAT by Andrew Stevens

Create a matrix from scattered data without interpolation (accumarray, gridding, vector)

bin2mat(x,y,z,XI,YI,varargin)

image thumbnail

updated 4 years ago

vfield_color by DS

Plot a 2-D vector field, where color is defined by a colormap and indicates vector magnitude. (vfield, velocity, plot)

vfield(x,y,u,v,varargin)

vfield_color(image,x,y,u,v,scale,cmap)

image thumbnail

updated 4 years ago

Vector algebra for arrays of any size, with array expansion enabled by Paolo de Leva

Multiple dot, cross, and outer products, cross divisions, norms, normalizations, projections, etc. (linear algebra, projection, algebra)

cross2(a, b, idA, idB)

crossdiv(varargin)

dot2(a, b, idA, idB)

image thumbnail

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

The matrix exponential by Thomas Schmelzer

Computes exp(A)*b where A is real and symmetric (matrix, functions, vector)

cf_matrixexponential( A,b )

cf_matrixfunction(fct,A,b,n,varargin)

cf_realaxis(fct,n,varargin)

image thumbnail

updated 4 years ago

Coneplot2 by Bertrand Dano

Same as coneplot, but uses quiver5 to plot arrow with 3d arrow heads (aerospace, fluid, vector fields)

hout=coneplot2(varargin)

image thumbnail

updated 4 years ago

Quiver 5 by Bertrand Dano

Draw arrow with true 3d arrow heads (aerospace, fluid, vector fields)

quiver5(varargin)

image thumbnail

updated 4 years ago

Almost a ternary conditional operator by Richie Cotton

Function for vectorised if-else statements. (utilities, ternary, vectorisation)

vif(truth,yes,no)

image thumbnail

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

Fresnel integrals by Christos Saragiotis

Calculates FresnelC, FresnelS integrals and their variations (C_1, C_2 and S_1 and S_2) (fresnel, calculate, values)

fresnel(x,cs,var)

image thumbnail

updated 4 years ago

ascii2xyz by Andrew Stevens

convert ARC ASCII text file to xyz (data import, data export, import)

xyz=ascii2xyz(varargin)

image thumbnail

updated almost 5 years ago

correlated Gaussian noise by michaelB brost

independent samples of correlated Gaussian vector process (gaussian, statistics, correlated)

correlatedGaussianNoise(Rpp, nSamp)

image thumbnail

updated almost 5 years ago

NUM2LAB by Marco Cococcioni

Converts a numeric vector into a cell vector of strings. (conversion, labels, generation)

num2lab(x,formstr,prestr,poststr)

image thumbnail

updated 5 years ago

NANSUBSREF by Miguel

NANSUBSREF Subscripted reference, ignoring NaNs. (subsref, nan, subscripted)

B=nansubsref(A,I)

image thumbnail

updated 5 years ago

Keithley 2910 and 2920 Vector Signal Generators – Driver by Keithley Instruments Instrument Driver Team

Keithley Instruments Series 2910 & 2920 MATLAB Instrument Driver (instrument driver, keithley, 2920)

image thumbnail

updated 5 years ago

vect2str -- vector to string conversion by Luca Balbi

vect2str prints out a numeric vector into a string. Fully customisable. (display, format, string)

vect2str(v,varargin)

image thumbnail

updated 5 years ago

fill2c: a pedestrian area filler by us

fill2c paints areas below/above a threshold with different colors (specialized, plotting, patch)

[p,par]=fill2c(x,y,cn,cp,yoff)

image thumbnail

updated 5 years ago

Variations: pick k elements out of n by Felix Bie?mann

returns all n^k variations when picking k elements from an n-element vector (elements, vector, variations)

variations=kfromn(n,k)

image thumbnail

updated 5 years ago

Raster to XYZ by Joseph Wheaton

Converts an Arc ASCII Raster to a vector point file. (lidar, dem, vector)

Raster2XYZ.m

image thumbnail

updated 5 years ago

quadvgk by Adam Wyatt

G7-K15 adaptive quadrature on vector-valued functions (vector, valued, quadrature)

quadvgk(fv, Subs, NF)

image thumbnail

updated 5 years ago

COLORVFIELD3 Colored 3D Vector Field Plotter by Michael Sullivan

Plots 3D vectors colored according to their lengths. (specialized, plotting, colorvfield)

colorvfield3(X,Y,Z,U,V,W,varargin)

image thumbnail

updated 5 years ago

Colored 2D Vector Field Plotter by Michael Sullivan

Plots 2D vectors colored according to their lengths. (specialized, plotting, colorvfield)

colorvfield(X,Y,U,V,varargin)

image thumbnail

updated 5 years ago

simsort by Giampiero Campa

Sorts vectors using quicksort. (simulink, sort, qsort)

simsort

image thumbnail

updated 5 years ago

Actual zero or any-value crossing by Christos Saragiotis

Finds actual zero (or any other value) "actual" crossings (zerocrossings, actual zero, any value)

crossings(x,t,val,opt)

image thumbnail

updated almost 6 years ago

fpat: a fuzzy pattern detector by us

the only pattern detector you will ever need (fuzzy, pattern, find)

fpatdemo

p=fpat(varargin)

image thumbnail

updated almost 6 years ago

Find base-b expansion of an integer by Dimitri Shvorob

(Cf. DEC2BASE) (base, expand, expansion)

basexp(k,b)

image thumbnail

updated 6 years ago

unique_no_sort by Caitlin

Like unique.m but without sorting (matrices, unique, unsorted)

unique_no_sort(a)

image thumbnail

updated 6 years ago

gblk: a pedestrian data block extractor by us

gblk computes segment/offset parameters for very fast extraction of data blocks from a matrix (matrices, matrix, vector)

gblkplt(m,p)

p=gblk(varargin)

gblkdemo.m

image thumbnail

updated 6 years ago

fractional differentiator by Farshad Merrikh bayat

This function calculates the fractional differentiate of a given input signal. (signal processing, fractional differenti..., derivative)

fderiv(d,r,h)

image thumbnail

updated 6 years ago

ci.m by Raymond Reynolds

calculates 90, 95 or 99% confidence interval. (interval, 90, confidence)

interval=ci(x,confidence,dim);

image thumbnail

updated 7 years ago

Vector Aitken's delta-square accelerator by Miroslav Balda

Vector version of Aitken's accelerator (iteration, aitken delta square, mathematics)

aitkd2(F,x,epsx,w,maxit,ipr)

v=eigpwr(v) % one step of the power method

demoAitkd2.m

image thumbnail

updated 7 years ago

Fast sparse matrix vector product by Darren Engwirda

sparse matrix vector product (linear algebra, sparse, matrix)

smvp

image thumbnail

updated 7 years ago

intercalar03 by Miguel D. B.

Intercalates the elements of 2 or more vectors to form one row vector (intercalate, array, vector)

[TT,T]=intercalar03(varargin)

image thumbnail

updated 7 years ago

vect2var by Christophe Meille

VECT2VAR Unpack vector to variables (matrices, variable, vector)

vect2var(varargin)

image thumbnail

updated 7 years ago

Plot 3D vectors/arrow (again ...) by Emmanuel Dinnat

Plot 3D vectors using surfaces (arrow, 3d, vector)

arrowPlot(initPoints, finishPoints, varargin)

image thumbnail

updated almost 8 years ago

Transform Tensor by Peter Graat

Transformation of a 3D-tensor of any order to another coordinate system. (tensor, vector, chemistry)

transform(itr,tmx)

image thumbnail

updated almost 8 years ago

int2vec by Jim Simos

Convert integer to vector. (coding theory, information theory, coding and informatio...)

int2vec(s,l)

image thumbnail

updated almost 8 years ago

dec2gc.m by Arjun Srinivasan Rangamani

This function converts a decimal number to its equivalent gray code representation (decimal to gray code, dec2gr, positive)

dec2gc(dec,N)

image thumbnail

updated almost 8 years ago

Data Dimension Reduction by Michael Kleder

Transforms vector data into a subspace of one less dimension, along direction of smallest extent. (linear algebra, vector, data)

[D,R,T]=dimred(X)

image thumbnail

updated 8 years ago

LOGSPACEM by Mukhtar Ullah

Compact/fast version of LOGSPACEN(by Duane Hanselman). (matrices, logspace, vector)

logspacem(x1,x2,n)

image thumbnail

updated 8 years ago

MATLAB to Hypre and Hypre to MATLAB matrix and vector converter by Diana Zakaryan

Converts MATLAB formatted matrices and/or vectors to Hypre format and vice versa. (data import, data export, hypre)

hypreIJ2matlab(matrix_filename,imax)

hypreParVectors2matlab(filename,num_of_vectors)

matlab2hypreIJ(matlab_smatrix,num_procs,matrix_filename,var...

image thumbnail

updated 8 years ago

enum: a pedestrian enumerator by us

To create an enumerating vector from a list of terminators. (matrices, enumerate, index)

e=enum(n,varargin)

image thumbnail

updated 8 years ago

Vector functions (double) by Marcel Leutenegger

Optimized vector products, norm and absolute value. (optimized, vector, functions)

o=vabs(s)

o=vcross(s,t)

o=vdot(s,t)

Contact us