Skip to content

Commit

Permalink
fix numbering hw4
Browse files Browse the repository at this point in the history
  • Loading branch information
rcc02007 committed Oct 31, 2017
1 parent 01b563a commit 52be186
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HW4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ README before 10/26 by midnight:
as inputs and calculates the Cholseky factorization of a tridiagonal matrix. The output
should be 2 vectors, the diagonal and the off-diagonal vector of the Cholesky matrix.

```[d,u]=chol_tridiag(e,f);```
```[d,u]=chol_tridiag(e,f);```

**4\.** Use the output from `chol_tridiag.m` to create a forward substitution and
back-substitution function called `solve_tridiag.m` that provides the solution of
Ax=b given the vectors from the output of [d,u]=lu_tridiag(e,f). *Note: do not use
the backslash solver `\`, create an algebraic solution*

```x=solve_tridiag(d,u,b);```
```x=solve_tridiag(d,u,b);```

![Spring-mass system for problem 5](./figures/mass_springs.png)

Expand Down

0 comments on commit 52be186

Please sign in to comment.