mathmari
Gold Member
MHB
- 4,984
- 7
Hey! I need some help using the Matlab function ljx.m for solving a system of linear equations. I found a solved example for A= \bigl(\begin{smallmatrix}<br />
1 & -1 &0 & 1\\ <br />
1 & 0& 1 & 0\\ <br />
1 &1 &2 & -1<br />
\end{smallmatrix}\bigr) and b=\bigl(\begin{smallmatrix}<br />
1\\ <br />
1\\ <br />
-1<br />
\end{smallmatrix}\bigr).
At the first time they call the function by ljx(T,2,1).
Why do they take as pivot this element, and not for example ljx(T,1,1)??
Is there a specific reason, or can we take as pivot any element we want as long as it's different from 0?

At the first time they call the function by ljx(T,2,1).
Why do they take as pivot this element, and not for example ljx(T,1,1)??
Is there a specific reason, or can we take as pivot any element we want as long as it's different from 0?

Last edited by a moderator: