Tuesday, September 04, 2018
Enable Symbolic in Octave 4.0.3
Command line: $ python --version Python 3.7.0 $ python -m pip install --user sympy Octave: >> pkg load symbolic >> A=[1 2 0 -1 5; 2 0 2 0 1; 1 1 -1 3 2; 0 3 -3 2 6] A = 1 2 0 -1 5 2 0 2 0 1 1 1 -1 3 2 0 3 -3 2 6 >> A=sym(A) A = (sym 4×5 matrix) ⎡1 2 0 -1 5⎤ ⎢ ⎥ ⎢2 0 2 0 1⎥ ⎢ ⎥ ⎢1 1 -1 3 2⎥ ⎢ ⎥ ⎣0 3 -3 2 6⎦ >> rref(A) ans = (sym 4×5 matrix) ⎡1 0 0 7/3 0 ⎤ ⎢ ⎥ ⎢0 1 0 -5/3 5/2⎥ ⎢ ⎥ ⎢0 0 1 -7/3 1/2⎥ ⎢ ⎥ ⎣0 0 0 0 0 ⎦