Use MATLAB to solve the problem.

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Use MATLAB to solve the problem.

Post by answerhappygod »

Use MATLAB to solve the problem.
Use Matlab To Solve The Problem 1
Use Matlab To Solve The Problem 1 (122.53 KiB) Viewed 269 times
-3 First Script i) Use Gaussian Elimination Algorithm (6.1) to find the inverse of matrix B = A-1, 2 -3 1 where A = 1 1 -1 by using augmented matrix 1 -3 2 1 1 0 0 1 1 -1 0 1 0 1 -3 0 0 1 2 ii) Use matrix B to find the solution of system Ax = b, where b = -1 0 iii) Print out A, B = A-1 and Test = A* B (which should be a 3 * 3 identity matrix) and vector x (solution of the system). Second Script Do the same items (from (i)-(iii) ) as in the First Script by using the augmented matrices (A : bi), where bi is either b1 = 0 0 b2 = | 1 or b3 = Cor 0 Can you see which method (in the first or in the second script) is faster and why? Write down your observation in the end of your Second Script file leading with %.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply