a) Apply the Cramer’s rule to solve the following system of linear equations:
b) Solve the above system using the inverse of the matrix of this system.
This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.
function x = cramer(A,b)
%CRAMER Solve linear system by Cramer's Rule.
% x = CRAMER(A,b) solves the square system A*x = b.
if det(A) == 0
error('Matrix is singular')
This is only a preview of the solution. Please use the purchase button to see the entire solution