CS211 Lab Policy:
Instructions:
Your program should include a standard comment header block and comments as appropriate. Your program should perform the following steps:
Clear the screen and tell the user what the program does
Prompt for and get a matrix that contains the coefficients of the equations. (Use a single input statement and ask the user to type in brackets and use semicolons appropriately to define a square matrix.)
Prompt for and get a column vector that defines the right-hand side of the system of equations. (Use a single input statement.)
Solve for the unknowns
Display the values calculated for the unknowns. (Use disp for output so that you can display an entire array with a single command.)
Use your solution values and prove that they are correct. (Recalculate the right-hand side values -- did you get the original values?)
Display your re-calculated right-hand side values to prove that the system was solved correctly. (Use disp for output.)
Turn-in:
Submit your lab4a.m and lab4b.m files.