using Cramers rule to find X variables for an equation without using right division

2 views (last 30 days)
How would I solve this system of equations using cramer's rule WITHOUT the use of right divison
the matrices for the five equations end up being
A=[3 -2 6 1 3; 1.5 1 -3 4 2; 1 4 2 -3 -1; .5 -3.5 2.5 .5 1.5; 4 2 1 -2 -3]
B= [-11.75; 19; -23; -1.5;-3.5]
where B is the answers and I am solving for X
A*X=B
thank you very much
  2 Comments
Roger Stafford
Roger Stafford on 22 Sep 2013
Presumably you understand Cramer's rule. What is it about applying it that you need help with? To get you started, one of the steps you need to perform is to replace various entire columns in A with the column vector B. Suppose for example you are at the third column. You would do it like this:
C = A;
C(:,k) = B;
where k is equal to 3. You can do this as part of a for-loop with k increasing from 1 up to 5. You will also need matlab's 'det' function for finding the determinant of a square matrix.
Rakib Seemanto
Rakib Seemanto on 1 Nov 2020
how to find the value of x and y by using Cramer’s rule from these equations:
𝑎𝑥+𝑏𝑦=𝑐 and 𝑑𝑥+𝑒𝑦=𝑓 ???

Sign in to comment.

Answers (0)

Categories

Find more on Linear Algebra in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!