usolve
x=usolve(U, b)
Finds one solution of the linear system U * x = b where U is an [n x n] upper triangular matrix and b is a [n] column vector.
Try it yourself:
$1 | x=usolve(sparse([1, 1, 1, 1; 0, 1, 1, 1; 0, 0, 1, 1; 0, 0, 0, 1]), [1; 2; 3; 4])
|
Finds one solution of the linear system U * x = b where U is an [n x n] upper triangular matrix and b is a [n] column vector.
Try it yourself:
$1 | x=usolve(sparse([1, 1, 1, 1; 0, 1, 1, 1; 0, 0, 1, 1; 0, 0, 0, 1]), [1; 2; 3; 4])
|