image thumbnail

updated 1 month ago

josecamachop/MEDA-Toolbox by José

Multivariate Exploratory Data Analysis Toolbox for Matlab (data exploration, matrices, analysis)

image thumbnail

updated 2 months ago

compare_matrices.m by Marcel Been

Compare two matrices (matlab, compare, matrices)

compare=compare_matrices(x)

image thumbnail

updated 2 months ago

fshift by Francois Bouffard

Shifts the elements of an array by a (possibly non-integer) given number of elements. (matrices, circular, shift)

fshift.m

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

General_Optimization_max_min by mohamed arous

this program for general optimization even if maximization or minimization for any linear function (linear algebra, optimization, mathematics)

General_Optimization_max_min.m

image thumbnail

updated 7 months ago

Link variable from MatFile object by Mitchell

Links partial or entire variable from a MatFile object to pass as object (matlab, matfile, save)

matlinkvar

image thumbnail

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

ALLCOMB by Jos (10584)

All combinations of input (v4.0, feb 2014) (matrices, all, combination)

allcomb(varargin)

image thumbnail

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

sumDiag by Marcus Björk

Sum over each diagonal (or anti-diagonal) in a matrix (general, signal processing, matrices)

sumDiag.m

image thumbnail

updated 12 months ago

vec2grid by Kelly Kearney

Reshapes vector data to a grid (matrices, reshape, griddata)

vec2grid(varargin)

image thumbnail

updated 12 months ago

meanDiag by Marcus Björk

The mean over each diagonal (or anti-diagonal) of a 2D matrix returned in a vector (signal processing, matrices, general)

meanDiag.m

image thumbnail

updated 1 year ago

COMBNSUB by Jos (10584)

Subset of all possible combinations of a fixed number of elements of a vector (v1.1, june 2013) (combination, subset, selection)

combnsub(V,N, IX)

image thumbnail

updated 1 year ago

COMBN (4.3) by Jos (10584)

All combinations of N elements taken from the vector V. (matrices, combination, permutation)

combn(V,N)

image thumbnail

updated 2 years ago

Concatenate arrays with different sizes in Matlab by Andres

This function allows you to concatenate arrays with different sizes padding with NaN where needed. (array, concatenate, function)

[catmat]=padconcatenation(a,b,c)

image thumbnail

updated 2 years ago

Fun Snowboard Video by Max

Just a fun little "video" of a snowboarder doing tricks. (snowboard, matrix transformation..., matrices)

final.m

image thumbnail

updated 2 years ago

Normalize N-D Vectors in Single Matrix or N Component Matrices by Ioannis Filippidis

Normalizes N-D vectors provided either in one matrix, or as multiple component matrices. (normalize, matrices, vector)

normvec(varargin)

vnorm(A,varargin)

usage_example_normvec.m

image thumbnail

updated 2 years ago

TPROD -- arbitary tensor products between n-d arrays by Jason Farquhar

TPROD -- efficiently allows any type of tensor product between 2 multi-dimensional arrays (matrices, multidimensional mult..., einstein summation)

[C,Atp,Btp]=etprod(Cidx,A,Aidx,B,Bidx)

[Z2]=orderTests(X,Y,sz)

[]=tprod_testcases(testCases,debugin)

image thumbnail

updated almost 3 years ago

CATPAD by Jonathan Sullivan

Concatenation of arbitrarily sized data along any dimension. (add, cat, length)

catpad.m

image thumbnail

updated 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

RANDBLOCK by Jos (10584)

scramble matrices using blocks (v2.3, mar 2011) (matrices, random, shuffle)

randblock(M,S)

image thumbnail

updated 3 years ago

Matrices program with a script for eigenvalues perturbations by Emanuele Natale

Some simple programs and a script, that could be usefull using "Trajectories of eigenvalues" (matrices, linear algebra, eigenvalues)

A=matrix

A=randint(m,n,r)

A=turn(alpha)

image thumbnail

updated almost 4 years ago

DEALCELL by Jiro Doke

Deals cell elements to variables (similar to DEAL) (matrices, deal, assign)

dealcell(varargout)

image thumbnail

updated 4 years ago

REPOP -- efficient replicating n-d array operations by Jason Farquhar

REPOP -- any element-wise operator between different sized n-d matrices without memory copies (matrices, replicating array ope...)

[]=repop_testcases(testType)

[varargout]=repop(varargin)

image thumbnail

updated 4 years ago

cofactors by Gordon Amoako

This is a function that computes the cofactors of an n x n matrix (mathematics, matrices)

cofactors(A)

image thumbnail

updated 4 years ago

Mathematica Symbolic Toolbox for MATLAB--Version 2.0 by Ben Barrowes

A symbolic toolbox for MATLAB based on Mathematica. (symbolic math, interfacing, matlab)

testscript.m

image thumbnail

updated 4 years ago

Small size linear solver by Bruno Luong

Linear solver of multiple 2x2 and 3x3 systems (liner solver, determinant, cofactor)

inv2(A, B, varargin)

inv3(A, B, varargin)

bench_inv2inv3.m

image thumbnail

updated 4 years ago

NCHOOSE (v2.1 mar 2010) by Jos (10584)

return all combinations of the elements of a set (matrices, matrix, nchoosek)

nchoose(S)

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

Function to normalize columns of given matrix by B H Sri Hari

Normalizes columns of a matrix (matrices)

Normalize_Colmns(A)

image thumbnail

updated almost 5 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 almost 5 years ago

CELL2FLOAT by Jos (10584)

converts cell array into scalar float array (v4.0, jan 2010) (matrices, cell, double)

cell2float(C, Filler, StopOnError)

image thumbnail

updated almost 5 years ago

GETCHUNKS by Jiro Doke

Get the number of repetitions that occur in consecutive chunks. (matrices, repetitions, histogram)

getchunks(a, opt)

image thumbnail

updated almost 5 years ago

Pseudo Enumerations by Ben Hinkle

Create, manipulate and display arrays with enumeration values (matrices, enum, enumeration)

dispe(x,varargin)

penum(varargin)

image thumbnail

updated 5 years ago

ENUMARRAY by Jen

An array that inherits from class DOUBLE and allows a user to index elements using an enumerated typ (matrices, double, array)

enumarray

image thumbnail

updated 5 years ago

unique_no_sort_rows by Michael Petralia

find unique rows of a matrix without resorting the rows (cell array, matrices, matrix)

unique_no_sort_rows(A)

image thumbnail

updated 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

Binary Serach of rows of M-by-N Matrix by Dr. Murtaza Khan

Binary Search that is based on sum of column values of rows of input M-by-N Matrix (binary serach, matrices, search)

[rStart,rEnd]=findindofeqcolsumrows(Mat,pos)

bsearchmatrows(mat,srow,varargin)

bsearchmatrowsTest1.m

image thumbnail

updated 5 years ago

SYMBMATMAKE by Richard Hindmarsh

Makes a subscripted symbolic matrix . (symbolic math, symbolic, subscripted)

symbmatmake.m

image thumbnail

updated 5 years ago

MATLAB in Physics - Matrices by Matt McDonnell

The third lecture in a series on using MATLAB® in undergraduate physics courses. (physics, demo, lecture)

rrefexample(A)

rrefmovie(A,tol)

vectorExamples

image thumbnail

updated 5 years ago

index.m - create a list of the indices and values of an array by Georg Stillfried

Create a list where each value (content) of an array is displayed together with its index. (matrices, index, indexes)

index (M,varargin)

image thumbnail

updated 5 years ago

UNIQUEWITHEQUALNANS by Jos (10584)

Set unique, treating NaNs as equal (v2.0, mar 2009) (matrices, unique, sort)

uniquewithequalnans(A,varargin)

image thumbnail

updated 5 years ago

Align repeated trials of analog data to a variable event by Matthew Nelson

Align matrices of repeated trials of analog data to a variable event without a for loop over trials. (matrices, trial, saccade)

varargout=ADAlignTrials(AlignEv,bn,minTrTime,varargin)

image thumbnail

updated 5 years ago

matrixfunction by Pierce Brady

summary (matrices, vectors, for loops)

matrixfun(hFunction,A,B,Dim)

matrixfuncc(hFunction,A,B)

matrixfunccn(hFunction,A,B)

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)

Contact us