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*3Explanation / Answer
please post a sample out put the function void equationsDraw(double M[N][N], int NumEqs) for (r=0; rRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.