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

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

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

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

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

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

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

subspace.m by Andrew Knyazev

Angle between subspaces. (angle, subspaces, linear algebra)

subspace(A,B)

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

Multiple-root polynomial solved by partial fraction expansion by Feng Cheng Chang

To find poles/residues of the rational function, instead of roots/multiplicities of the polynomial (mathematics, communications, control design)

polyroots(p)

image thumbnail

updated 4 years ago

Conjugate Gradient Method by Yi Cao

Conjugate Gradient Method to solve a system of linear equations (linear algebra, linear equation, mathematics)

conjgrad(A,b,tol)

image thumbnail

updated almost 5 years ago

EliminateConstraints by Andrew Jackson

Eliminates variables from a problem with linear equality constraints to give an unconstrained proble (linear algebra, contraint, linear)

[C,d]=eliminateConstraints(A,b)

image thumbnail

updated almost 5 years ago

LCP / MCP solver (Newton-based) by Yuval

Solve the Linear Complementarity Problem. (lcp, mixed complementarity..., mathematics)

LCP(M,q,l,u,x0,display)

image thumbnail

updated almost 5 years ago

Vandermonde matrix by Siqing Wu

Creating matrix with terms of geometric progression in each row (geometric progression, linear algebra, vandermonde matrix)

vanderm(v,c)

image thumbnail

updated almost 5 years ago

UDFactor by Dmitry Savransky

Performs the U-D factorization of a symmetric matrix. (linear algebra, ud factorization, ud filter)

UDFactor(P,uflag)

image thumbnail

updated 5 years ago

regtools by Per Christian Hansen

Analysis and Solution of Discrete Ill-Posed Problems. (discrete, illposed, regularization)

app_hh(A,beta,v)

art(A,b,k)

baart(n)

image thumbnail

updated 5 years ago

Sort Eigenvectors & Eigenvalues by Calvin Price

Sort a set of eigenvectors and corresponding eigenvalues (eigenvectors, linear algebra, sort)

[P2,D2]=sortem(P,D)

image thumbnail

updated 5 years ago

Faddeev-Leverrier Algorithm by Yi Cao

An iterative approach to generate characteristic polynomial coefficients (linear algebra, characteristic polyno..., inverse)

Faddeev-Leverrier Algorithm

[p,Ainv,B]=fadlev(A)

image thumbnail

updated 5 years ago

Row Echelon Form by Muhammad Rafiullah Arain

Method for row echelon form of matrix (linear algebra, solution, upper triangular matr...)

ref(a)

image thumbnail

updated 5 years ago

Linear equation system 'Ax=r' by Gauss elimination method by Sobhan Rostami

Solve N-equation (gauss elimination, matlab, linear algebra)

Nequation.m

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

Method of elimination of Gauss with pivoting partial by Giovanni Di Cecca, Virginia Bellino

Solve Linear Equation in format Ax=b (equation, gauss, linear algebra)

[A,B,pivot,det,iflag,x]=myGaussSolve2(A,B)

[max,ip]=maximus(A,k,pivot,n)

[x]=bsLPU(n,A,pivot,B)

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

anxp by Antonio Trujillo-Ortiz

Angle of the cross product of two vectors. (linear algebra, angle, cross product)

anxp(A,B)

image thumbnail

updated almost 7 years ago

Rank revealing lu decomposition by Pawel Kowal

calculates rank revealing lu decomposition (linear algebra, lu, rank revealing)

getRank(version,L,U,tol);

null_lu(A)

demo_rrlu.m

image thumbnail

updated 7 years ago

MultiSolve 3x3 by Ofek Shilon

Vectorized solve of multiple 3x3 linear systems (linear algebra, linear equation, system)

multisolve3x3(AA,b)

image thumbnail

updated 7 years ago

Null space of a sparse matrix by Pawel Kowal

calculates null space and range of a rectangular sparse matrix (sparse matrix, null space, linear algebra)

luq(A,do_pivot,tol)

spspaces(A,opt,tol)

demo.m

image thumbnail

updated 7 years ago

newton's algorithm for nnls by Uriel Roque

Solves the linear least squares problem with nonnegative variables using the newton's algorithm (linear algebra, newton, interiorpoint)

newton(A,b,x0,niter)

image thumbnail

updated 7 years ago

predictor-corrector algorithm by Uriel Roque

Solves linear least squares with nonnegative variables (predictorcorrector, nvlsq, nnls)

pcnnls(A,b,x0,niter)

image thumbnail

updated 7 years ago

Fast Sparse LU substitution by Darren Engwirda

A dedicated mex-file for use with UMFPACK to complete the forward and back substitution quickly (linear algebra, sparse lu substitutio..., umfpack)

LUsubs

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

Complex Roots Finder by Marco Cococcioni

Computes the n n-th complex roots of a given complex number (complex number, roots, nth)

rootsc(n, x, display)

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

Levi-Civita Symbol by Bill Davidson

This is an implementation of the Levi-Civita symbol, known as "epsilon i j k" (linear algebra, levicivita symbol, permutation tensor)

[]=levi_civita()

image thumbnail

updated 7 years ago

Quaternion data class by Bill Davidson

A Quaternion data class (linear algebra, quaternions, octonions)

[]=complex_equivalent(a,b)

[]=should_be(varargin)

komplex(varargin)

image thumbnail

updated 7 years ago

UDU Decomposition by do hyung kim

Operate udu decomposition. (linear algebra, udu decomposition, factorization)

[u,d]=udu(P)

image thumbnail

updated 7 years ago

sumdotpack by Alain BARRAUD

qsum & qdot compute quadruple precision sum & dot product, fpsum & fpdot give almost full double. (linear algebra, extended precision, sum dot product)

[ch,cl]=qprod(a,b)

[sh,sl]=qdot(x,y,ch,cl)

[sh,sl]=qsum(x,sh,sl)

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

Sparse Matrix Multiplication by Christian Walder

Allows you to specify the maximum number of nonzeros before multiplying sparse matrices. (linear algebra, multiplication, multiply)

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

More Flexible Sorting and Multiplicity of Roots of a Polynomial by Sundar Krishnan

More Flexible Sorting and Multiplicity of Roots of a Polynomial (linear algebra, flexible sorting, multiplicity of roots)

...

...

[Poly_Rts, no_Real_Rts, no_Cmplx_Rts, MN, ...

Contact us