Gistlib Logo

gistlib

other matlab categories

solve-linear-system code snippets in matlab

given the matrix a=magic(3), compute its qr factorization and solve the linear system rx=b, with b=[1,2,3]^t. the solution is, approximately: in matlab

gistlibby LogSnag