Effacer les filtres
Effacer les filtres

rref( ) row echelon form MATLAB

10 vues (au cours des 30 derniers jours)
ssmith
ssmith le 18 Nov 2021
Commenté : ssmith le 18 Nov 2021
I found the row echelon form of my matrix A but now I am trying to find the solution set to the system. Is there a function that can do that in a way that rref( ) found the row echelon form? This is what I have so far:
A = [-1, 2, -3; 4, -5, 6]
R = rref(A)
I know once I have my row echelon, I want to get u1 = -1 and u2 = -2 but I do not know what the function is in matlab that performs this calculation.
Any guidance would be great

Réponses (1)

David Hill
David Hill le 18 Nov 2021
A=[-1 2;4 -5];
b=[-3;6];
x=A\b;
  1 commentaire
ssmith
ssmith le 18 Nov 2021
@David Hill what does the line
x = A\b
do? I thought a solution set was solving across the matrix made using rref(A)

Connectez-vous pour commenter.

Catégories

En savoir plus sur Linear Algebra dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by