Question: Solving Linear systems in terms of a matrix product

Hi,

I want to compute a system of linear equations when they are provided through a matrix product, and the solutions should be some numbers (rational) between 0 and 1, and one of them could be any rational number. Also, I obtain the matrix of coefficients by recursion; I mean, I have a ''for loop" in which I find recursively the matrix of coefficients, and then in each step of loop I solve the system of equations with this coefficients.

I use Maple 13. The problem is that, I do not know exactly how I can solve this system by matrix product?

I have googled, and I also tried the Maple help, but I only found LinearSolve(A,b), and aslo linsolve(A,b) in older versions of maple, but there is some problem: Using LinearSolve it gives me some error with my coeffiicent matrix and I dont know what is that:

Error, (in LinearAlgebra:-LinearSolve) invalid input: LinearAlgebra:-LinearSolve expects its 1st argument, A, to be of type {Matrix, list({Matrix, Vector})} but received H2[6]

I will be appreciated if help me in solving this problem.

Bests,

Elham

 

Please Wait...