- Details
- Parent Category: Programming Assignments' Solutions
We Helped With This MATLAB Programming Assignment: Have A Similar One?
SOLVED

Assignment Image
![MATLAB Assignment Description Image [Solution]](/images_solved/519497/1/im.webp)
1 OT 1
EPNM Project 2 - 12
Load the content of the mat file bcsstk26 to the MATLAB working environment using
the command
load bcsstk26.mat
Afterwards get the sparse matrix stored in the structure Problem using the assigne-
ment
G = Problem. A
Take vector b constructed as follows:
b = [1, 2, 1, 2, ..., 1, 2, 1, 2]
Task:
Write Matlab m-file, which will solve the following matrix equation
G* x=b
applying the following steps:
a) calculate the inverse of the square matrix G implementing in the distributed way
the fast iterative matrix inverse algorithm. Assume that the starting approximation
of the inverse is
GT
||G||||G||1
b) calculate the solution of the set of linear equations as
Bo
x = B* b (B is the calculated inverse)
ATTENTION:
Program should use the parfor loop. Realize all calculations in the sparse format of
matrices.