simar
simar

Reputation: 544

How do I factorize a matrix(m x n) into two factors (m x r, r x n) in Matlab?

I want to start with a mxn matrix A and factorise it into two matrices mxr and rxn. r can be greater than the dimensions of matrix A.

nnmf allows only for r< min(size(A))

Is there a way I can factorise the matrix into two matrices?

Upvotes: 1

Views: 978

Answers (2)

oMiD
oMiD

Reputation: 322

You can visit Professor Haesun Park's Academic Home Page and download this package from there.

Actually she implements Non-Negative Matrix Factorization with Alternating Non-Negativity-constrained Least Squares and Block Principal Pivoting / Active Set Methods in Matlab.

Also you can find implementation of Mixed Membership Matrix Factorization (M3F) in Matlab, here.

Upvotes: 1

tim
tim

Reputation: 10186

There are some factorization functions available in matlab, see here: http://www.matrixlab-examples.com/matrix-decomposition.html

e.g. LU / qr - factorization, cholesky etc...

Upvotes: 1

Related Questions