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

4 ビュー (過去 30 日間)
AngelsaAtWar
AngelsaAtWar 2013 年 9 月 22 日
コメント済み: Rakib Seemanto 2020 年 11 月 1 日
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 Center および File ExchangeLinear Algebra についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by