Refine by Content Type

Refine by Category

Refine by Product

Refine by Time Frame

image thumbnail

updated 15 days ago

Laplacian 2.0 by Bryan C. Smith

(1-3)D sparse Laplacian matrices with eigenvalues and eigenvectors. (laplacian, eigenvalues, eigenvectors)

laplacian2(numpts, varargin)

image thumbnail

updated 1 year ago

Cofactor Matrix Generator by Angelica Ochoa

Generates a matrix of cofactor values for an M-by-N matrix. (cofactor, mathematics, linear algebra)

cof=cof(a);

image thumbnail

updated 1 year ago

Superkron by Jean-Daniel

An implementation of the kronecker product for multidimensional arrays. (kron, matrix, linear algebra)

superkron(varargin)

image thumbnail

updated almost 2 years ago

pcg.m with 'null' and 'flex' options by Andrew Knyazev

Preconditioned Conjugate Gradients handles homogeneous equations and nonsymmetric preconditioning (linear algebra, preconditioned, conjugate)

pcg(A,b,tol,maxit,M1,M2,x0,opts1,opts2,varargin)

image thumbnail

updated 2 years ago

Trajectories of eigenvalues by Emanuele Natale

Program that plots the changing eigenvalues obtained progressively adding a matrix B to a matrix M. (matrix, eigenvalues, perturbations)

A=randint(m,n,r)

perteig(M,B,T)

randevoeig(n,kA,kB,T)

image thumbnail

updated 2 years ago

Extra-diagonal modifications of eigenvalues by Emanuele Natale

The program plots the trajectories of eigenvalues of a matrix from its diagonal (matrix, linear algebra, eigenvalues)

ploteig(A,T)

image thumbnail

updated almost 3 years ago

Multiple matrix multiplications, with array expansion enabled by Paolo de Leva

Multiplying matrices, vectors, or scalars contained in two N-D arrays, with array expansion enabled. (arraylab, singleton expansion, vector)

arraylab13(a,b,d1,d2)

arraylab131(a,b,d1,d2)

arraylab132(a,b,d1,d2)

image thumbnail

updated 3 years ago

Sparse null space and orthogonal by Bruno Luong

NULL space and ORTHOGONAL basis for sparse matrix (sparse, matrix, linear algebra)

spnull(S, varargin)

sporth(S)

image thumbnail

updated 3 years ago

Difference Matrix by Zachary Danziger

Builds the matrix that takes the column-wise difference of another matrix when post-multiplied. (linear algebra, matrix, difference)

diffMat(obs,type)

image thumbnail

updated 3 years ago

Zernike Polynomial Coefficients for a given Wavefront using Matrix Inversion in Matlab by Christopher Wilcox

Calculation of Zernike Polynomial Coefficients for a given Wavefront using Matrix Inversion (zernike, polynomials, wavefront)

zernike_coeffs(phi, M)

image thumbnail

updated 3 years ago

Vectorized Transpose Matrix by Zachary Danziger

Creates an orthogonal permutation matrix for tensor and linear algebra manipulations. (linear algebra, tensor, mathematics)

TvecMat(m,n)

image thumbnail

updated 3 years ago

Symbolic Matrix by Zachary Danziger

Creates a matrix composed of properly indexed symbolic elements. (mathematics, linear algebra, symbolic math)

symMat(dims,Mname,type)

image thumbnail

updated 3 years ago

lapack by Tim Toolan

Easily call any LAPACK or BLAS routine from inside Matlab. (blas, function, lapack)

lapack(varargin);

lapackhelp(func)

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

n-Mode Tensor - Matrix Product by Fabian Schneiter

Calculates the n-mode product between a tensor and a matrix. (nmode, matrix, tensor)

nmodeproduct(A,M,n)

image thumbnail

updated 4 years ago

ortha.m by Andrew Knyazev

Orthonormalization Relative to matrix A (linear algebra, orthonormalization, relative)

[Q,varargout]=ortha(A,X)

image thumbnail

updated 4 years ago

Triangular and diagonal indexing by Bruno Luong

A collection of functions to index diagonal and triangular parts of the matrix (indexing, diagonal, matrix)

DiagM(n)

DuplicationM(n, option)

EliminationM(n, varargin)

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

h_trid by Matt Fig

Uses the Householder method to tridiagonalize a matrix. (linear algebra, tridiagonalize househ..., symmetric)

h_trid(A)

image thumbnail

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

UFget: MATLAB interface to the UF sparse matrix collection by Tim Davis

Downloads sparse matrices from the web directly into the MATLAB workspace, from a vast range of real (linear algebra, sparse, matrix)

UFget (matrix, UF_Index)

UFget_defaults

UFget_lookup (matrix, UF_Index)

image thumbnail

updated 5 years ago

successive under/over relaxation by Daniel Cortes

solves the linear system Au=F using successive over/under relaxation. WhereA is diagonally dominant (linear algebra, gauss seidel, successive)

sor(A,F,w,u0,dtol,itmax)

image thumbnail

updated 5 years ago

determinant of a 3 by 3 matrix in simulink by Nassim Khaled

This code evaluates the determinant of a 3 by 3 matrix in simulink (linear algebra, determinant, 3 by 3)

Determinant_sim

image thumbnail

updated almost 6 years ago

OLS by Marco Cococcioni

This functions implements the algorithm of Orthogonal Least Squares. It can be used to rank regresso (ols, functions, linear algebra)

ols(A,b,r,threshold)

image thumbnail

updated almost 6 years ago

eigND - n-dimensional eigenvalues by Neil Sims

Eigenvalues of a real non-symmetric N-dimensional matrix (linear algebra, eig, eigenvalue)

eigND(varargin)

image thumbnail

updated almost 6 years ago

Data scaling by Ani

Program to scale the values of a matrix from a user specified minimum to a user specified maximum (linear algebra, scale, scaling data)

scaledata(datain,minval,maxval)

image thumbnail

updated 6 years ago

matrixop by David Gleich

A Matlab object that acts just like a matrix but represents a linear operator as a function. (linear algebra, matrix, class)

image thumbnail

updated 6 years ago

Sparse Toeplitz matrix construction by Toby Driscoll

Produces a sparse Toeplitz matrix given only the first row and column, like built-in Toeplitz. (linear algebra, sparse, toeplitz)

sptoeplitz(col,row)

image thumbnail

updated 6 years ago

Defining Cartesian Reference Frames based on Point Positions by Paolo de Leva

Versatile algorithm defining Cartesian reference frames based on the positions of at least 3 points (mechanical modeling, cartesian coordinate ..., reference frame)

ARF(P, segname, side, varargin)

footBAF(HEEL, MET1, MET5, MET2, side, varargin)

frame(a, b, axis1, c, axis2, dim)

image thumbnail

updated 6 years ago

Dett by Paul Godfrey

Computes the determinant of non-square matrices. (determinant, dett, det)

dett(A, method)

image thumbnail

updated 6 years ago

dots by Philippe Maincon

Multiple matrix-matrix products, or general operations on cartesian tensors (linear algebra, multiprod, multiple)

TryDots.m

dots.m

image thumbnail

updated 6 years ago

adj.m by Paul Godfrey

Finds the adjoint of any rectangular matrix (adjoint, adjugate, linear algebra)

adj(A,mode)

image thumbnail

updated 6 years ago

Adjugate (adjoint) of a Square Matrix by Roger Stafford

Calculates the adjugate (adjoint) matrix for a square matrix. (adjoint, cofactors, adjugate)

det(u*v')*v*diag(prod(reshape(s0(ix),n-1,n),1))*u'; % ---

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

symfact.m by Paul Godfrey

A function for performing matrix symmetrical factoring. (linear algebra, matrix, symmetrical)

symfact(a)

image thumbnail

updated 7 years ago

Gauss-Jordan Elimination with Partial Pivoting by Miguel D. B.

Gauss-Jordan Elimination with Partial Pivoting (gauss, matrix, jordan)

[A,t]=elimgauss03(A)

image thumbnail

updated 7 years ago

diagonal by Miguel D. B.

Returns a vector with the main diagonal of a matrix. Similar to the built-in function diag (linear algebra, matrix, diagonal)

B=diagonal01(A)

image thumbnail

updated 7 years ago

Matrix Representation of a Linear Transformation by Brhanemedhn Tegegne

Finds the matrix representation of a Linear tranformation (linear algebra, linear tranformation, matrix representation)

L_MAT=LinearTranform(A,B,L,Inner)

image thumbnail

updated almost 8 years ago

Toeplitzmult by Brian Borchers

This package implements fast matrix-vector multiplication for Toeplitz matrices. (linear algebra, toeplitz, structured)

F=toeplitzmultaux(a,b)

y=toeplitzmult(a,b,x)

y=toeplitzmult2(F,x)

image thumbnail

updated almost 8 years ago

Arbitrary Rank Update to Cholesky Factorization by Greg von Winckel

Solves the Cholesky factored system with arbitrary update. (cholesky, matrix, symmetric)

x=cholrankup(R,U,V,b)

image thumbnail

updated almost 8 years ago

Givens rotation by Steven Huang

This is the Givens rotation method in Golub's book. It differs a sign with Matlab's method (givens rotation, matrix, linear algebra)

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

invjor by Jordi Soler Penades

Calculates the inverse of a matrix using Jordan-Gauss method. (linear algebra, matrix, inverse)

[U,I]=invjor(A)

image thumbnail

updated 8 years ago

LPDU decomposition by Yi Zhang

LPDU decompostion. (linear algebra, lpdu, decomposition)

LPDU(A)

image thumbnail

updated almost 9 years ago

Rotation of the vector around the axe by Sergii Iglin

Rotation of the vector around axe and search of the axe and angle of rotation. (linear algebra, vector, rotation)

GetRotAxeAngle(T)

RotVecArAxe(A,L,Phi)

image thumbnail

updated almost 9 years ago

Linear equations of both full rank and deficient rank by sang bo

lineq can solve any linear equations. (linear algebra, full rank matrix, deficient rank matrix)

[homsol,spsol]=lineq(a,b)

b=rowadd(a,i,j,k)

b=rowechon(a)

image thumbnail

updated 9 years ago

Field of values by Wilmer Henao

Plots the field of values of a square complex matrix. (linear algebra, field of values, eigenvalue)

fovals(A,k)

image thumbnail

updated 9 years ago

Fast Pentadiagonal System Solver by Greg von Winckel

Solves symmetric and asymmetric pentadiagonal systems. (linear algebra, pentadiagonal, 5band)

x=pentsolve(A,b)

image thumbnail

updated 10 years ago

Bidiag by Paul Godfrey

Computes upper bidiagonal form of a matrix. (linear algebra, bidiagonalization, matrix)

bidiag(a,mode)

Contact us