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

2 次查看(过去 30 天)
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 个评论
Roger Stafford
Roger Stafford 2013-9-22
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 2020-11-1
how to find the value of x and y by using Cramer’s rule from these equations:
𝑎𝑥+𝑏𝑦=𝑐 and 𝑑𝑥+𝑒𝑦=𝑓 ???

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Linear Algebra 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by