What does the two output matrix, L and U, mean in [L U] = factor(A, rho), where A is m-by-n matrix of real numbers?

The rho in factor(A,rho) is an integer (=1 when I run it). The documentation shows one matrix output with the factorization of each element of A and does not take more than one argument. While I am getting both L and U as m-by-m matrix. This code line is used in another program which I am using.

 Accepted Answer

f = factor(n) returns a row vector containing the prime factors of n, maybe in your case you are using another function created by somebody, try to open this function and look at what is inside

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!