hihihi129473838
hihihi129473838
30.10.2019 • 
Mathematics

Use blackslash (\) operator to solve the system of equations, ax = b, for unknown x’s and put the answer in p1. the coefficient matrix a has a dimension of 30 rows by 30 columns. all elements are zero except for those on the diagonal, subdiagonal and superdiagonal. to create a, first create a 30 × 30 matrix with all zero and then modify the non-zero elements using linear indexing. another method is to explore function diag.

Solved
Show answers

Ask an AI advisor a question