Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need to extract a matrix and put it into a series of equations. The matrix M[N

ID: 3655165 • Letter: I

Question

I need to extract a matrix and put it into a series of equations. The matrix M[N][N] is defined as #define N 100. For example if a matrix is 2,3,2,4 1,2,1,3 3,4,3,5 the equations should be 2x1 + 3 x2 + 2 x3 = 4...etc i am trying the use a for loop, void equationsDraw(double M[N][N], int NumEqs) for (r=0; r< NumEqs; r++) for (c=0; c< NumEqs+1; c++) this will loop through the entire matrix but i do not know how to assign the correct variables say if a 99*99 matrix was entered rather than a 3*3

Explanation / Answer

please post a sample out put the function void equationsDraw(double M[N][N], int NumEqs) for (r=0; r