RREF with unknown variables

46 visualizzazioni (ultimi 30 giorni)
Janne
Janne il 18 Nov 2022
Commentato: Janne il 18 Nov 2022
Hi
Suppose I have an augmented matrix with unknown variables and I want to reduce it to its reduced row echelon form. How to do this in Matlab ?
Example matrix:
[1, 2, 3, a;
4, 5, 6, b;
7, 8, 9, c;]
Thanks for advance!
  1 Commento
Janne
Janne il 18 Nov 2022
Hey
Thanks for the answer. I was not specific enough. So the issue was I couldnt assign variables (assigned by 'syms') to the "excel sheet" where I was assigning elements to it.
--Janne

Accedi per commentare.

Risposte (1)

John D'Errico
John D'Errico il 18 Nov 2022
WTP? Why not try it?
syms a b c
rref([1, 2, 3, a;
4, 5, 6, b;
7, 8, 9, c])
ans = 

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by