image thumbnail

updated 14 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 18 days ago

LAI by Erwin Torreao Dassen

A linear algebra over the integers package based on layered lattices. (mathematics, lattices, linear algebra)

LAI

image thumbnail

updated 1 month ago

Oblique Subspace Decomposition by Josh Carmichael

Given subspace bases H and S, this finds their oblique projections. (oblique, projection, subspace)

proj2Obliq(H,S)

image thumbnail

updated 2 months ago

LU factorization of a square matrix using DooLittle's algorithm by Mazhar Iqbal

Doolittle's algorithm to find LU factors (linear algebra, lu factorization, matrix decomposition)

[L U]=LU_DooLittle(A)

image thumbnail

updated 2 months ago

LU factorization of a square matrix using Crout's algorithm by Mazhar Iqbal

function provide LU factors to solve a linear system. (linear algebra, matrix decomposition)

[L U]=LU_Crout(A)

image thumbnail

updated 4 months ago

Totally Unimodular by Robert

Checks if a matrix is totally unimodular (determinantlinear alg..., determinant, linear algebra)

tu(A)

image thumbnail

updated 6 months ago

Fast Reduced Row Echelon Form by Armin Ataei

A much faster version of MATLAB's RREF (linear algebra, frref, rref)

frref(A,tol,type)

image thumbnail

updated 7 months ago

Linear Algebra Package by Brian Moore

Implements many common linear algebra functions in completely self-contained MATLAB code. (matrix theory, eigenvalue computatio..., linear algebra)

myArnoldi(mat,varargin)

myCholesky(mat,varargin)

myCompanionMatrix(c)

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

Linearity of Points by Chao Huang

Determine the linearity of points, like coinear, coplanar, and so on. (mathematics, linear algebra, geometircs)

linearity(p)

image thumbnail

updated 1 year ago

block diagonal representation by David Holdaway

Converts a matrix into a cell array of different sized matrices that make up the blocks. (mathematics, matrix multiplication, block diagonal)

blkdiagconv( matform,blocksizes )

image thumbnail

updated 1 year ago

System of linear congruences by Mike Sheppard

Solution to Simultaneous Linear Congruences (linear algebra, congruence, chinese remainder the...)

x=lincon(a,b,n)

image thumbnail

updated 1 year ago

circlefit3d - fit circle to three points in 3d space by Johannes Korsawe

Calculate center, radius and plane of circle that passes through three given points (circle, 3d, fit)

circlefit3d(p1,p2,p3)

image thumbnail

updated 1 year ago

Multi-preconditioned GMRES by Tyrone Rees

An extension of GMRES which allows the use of multiple preconditioners. (linear algebra, gmres, preconditioning)

mpgmres(A,b,P,type_in,tol,maxits,x0,varargin)

test_mpgmres.m

image thumbnail

updated 1 year ago

Galois Field Library by David Blatsky

Library of Linear Algebra functions over Finite Fields (galois field, finite field, linear algebra)

Elem.m

Field.m

image thumbnail

updated 1 year ago

Gauss elimination with complete pivoting by Nickolas Cheilakos

This function calculate Gauss elimination with complete pivoting (gauss, gaussian, linear algebra)

gecp(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 1 year ago

lobpcg.m by Andrew Knyazev

LOBPCG solves Hermitian partial generalized eigenproblems using preconditioning, competes with eigs (linear algebra, symmetric, partial)

...

image thumbnail

updated almost 2 years ago

Don't let that INV go past your eyes; to solve that system, FACTORIZE! by Tim Davis

A simple-to-use object-oriented method for solving linear systems and least-squares problems. (factorization, backslash, mldivide)

cod (A, tol)

cod_qmult (Q, X, method)

cod_sparse (A, arg)

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 almost 2 years ago

subspacea.m by Andrew Knyazev

Angles between subspaces. Canonical correlations. (linear algebra, principal, angle)

subspacea(F,G,A)

image thumbnail

updated almost 2 years ago

Polynomial division by convolution -- up to finite terms by Feng Cheng Chang

Division of two polynomials by convolution to get up to K terms. (convolution matrix, longhand division, polynomial division)

polydiv_Z(b,a,K,c)

image thumbnail

updated almost 2 years ago

Polynomial division by convolution - quotient and reminder by Feng Cheng Chang

Division of two polynomials to get quotient and reminder using convolution matrix. (polynomial division, longhand division, linear algebra)

polydiv_H(b,a,c)

image thumbnail

updated almost 2 years ago

Intersection of linear subspaces by Ondrej

Function for finding the basis of the intersection of N subspaces (intersection, subspace, linear algebra)

findIntersect(varargin)

image thumbnail

updated almost 2 years ago

Plotting planes and their intersection in 3D by Ondrej

Function 'plotPlanes' plots planes/lines in 3D; 'plotIntersection' plots intersection of the planes. (planes, intersection, linear algebra)

findIntersect(varargin)

ismatrix(a)

plotIntersection(varargin)

image thumbnail

updated 2 years ago

Elimination Matrices and Inverse by Olawale Akinwale

Use the file to find the elimination matrices and inverse using Gauss Jordan elimination (linear algebra, mathematics)

eMatrices(A)

image thumbnail

updated 2 years ago

trilin by Felipe G. Nievinski

Facilitates the reuse of matrix factorizations in large dense linear algebra problems. (linear algebra, cholesky, inv)

chol2(varargin)

cputime_res

cputime_tol

image thumbnail

updated 2 years ago

Rank-Revealing QR factorization by Ivo Houtzager

Rank-Revealing QR factorization of an array (linear algebra, rankrevealing qr fact..., mathematics)

make_rrqr.m

rrqrx.m

rrqry.m

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 2 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 2 years ago

Least squares with minimum-norm solution by Ivo Houtzager

Least squares with minimum-norm solution (squares, minimum, linear algebra)

lsmin.m

lsmind.m

make_lsmin.m

image thumbnail

updated 2 years ago

QR/RQ/QL/LQ factorizations by Ivo Houtzager

QR/RQ/QL/LQ factorizations of an array. (ql, lq, rq)

lq.m

make_factor.m

ql.m

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

Least-square with 2-norm constraint by Bruno Luong

Minimize |A*x-b|^2 such that |x| = cte (linear algebra, regularization, quadratic)

spherelsq(A,b,xnorm)

spherelsq_demo.m

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

LU factorization with complete pivoting. by Nick Henderson

An implementation of algorithm 3.4.2 from Matrix Computations. (linear algebra, lu, factorization)

lucp(A,tol,pm_opt)

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

Polynomial Square Root by Andre Fioravanti

Finds the square root of a polynomial. (linear algebra, mathematics, polynomials)

polysqrt(p)

image thumbnail

updated 3 years ago

Full Rank Factorization by Calvin Price

Performs a full rank factorization, X=KL (linear algebra, full rank factorizati..., full rank decompositi...)

frd(X)

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 3 years ago

GCD of Polynomials by Feng Cheng Chang

Find polynomial GCD by "Leading-coefficient Elinimation" (linear algebra, polynomial gcd, euclid algorithm)

poly_gcd(p,q)

image thumbnail

updated almost 4 years ago

Gaussian Elimination Example (with partial pivoting): GEE, it's simple! by Tim Davis

A set of simple functions that illustrate Gaussian Elimination with partial pivoting (gaussian elimination, partial pivoting, tutorial)

gee_its_short (A, b)

gee_its_simple (A, b)

gee_its_simple_backsolve (U, b)

image thumbnail

updated almost 4 years ago

Quaternion Toolbox by Jay St. Pierre

Vectorized quaternion functions (quaternion, quaternions, linear algebra)

R=q2dcm(q)

[v,phi]=qdecomp(q)

q=dcm2q(R)

image thumbnail

updated almost 4 years ago

plot_feasible.m by Matthew Roughan

plot_feasible.m is a simple bit of code for visualizing 2D linear programming problems. (linear programming, hatch, hatching)

[sorted_vertices, ...

plot_feasible_test.m

image thumbnail

updated almost 4 years ago

Perron root computation by Aravind Seshadri

An algorithm that computes the Perron root and Perron vector for an irreducible non-negative matrix. (linear algebra, matrix computation, eigenvalue)

perron(varargin)

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)

Contact us