Skip to content

Commit e128f60

Browse files
authored
Fix table of contents for "Example" sections
Remove each number from the headers and try the "-1" method in the table of contents links.
1 parent 0679643 commit e128f60

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ The input values for each function are generally not validated other than their
77
### Table of Contents
88

99
1. [Tridiagonal LU Decomposition Matrix Solver](#Tridiagonal-LU-Decomposition-Matrix-Solver)
10-
a. [Example 1](#Example~1)
10+
a. [Example 1](#Example)
1111
2. [Least-Square Plot Using QR Decomposition](#Least-Square-Plot-Using-QR-Decomposition)
12-
b. [Example 2](#Example~2)
12+
b. [Example 2](#Example-1)
1313

1414
### Tridiagonal LU Decomposition Matrix Solver
1515

@@ -24,7 +24,7 @@ The `a`, `b` and `c` variables are used as vector inputs for the script. The val
2424
The output includes vector `x` and vector `z` such that `z = Ux`. It also includes vectors `alpha` and `beta` such that:
2525
<img src="https://raw.githubusercontent.com/onezerosix/misc-matlab-scripts/master/pictures/tridiag_lu_decomp_LU.png" width="70%" alt="L and U matrices">
2626

27-
##### Example 1
27+
##### Example
2828
```
2929
>> [alpha, beta, z, x] = tridiag_lu_decomp([2;2;2;2;2], [1;1;1;1;1], [1;1;1;1;1], [3;4;4;4;3])
3030
@@ -54,7 +54,7 @@ A = [ e^-1 e^-2 ]
5454

5555
Two assumptions made for the script are: `A` has rank n and m >= n.
5656

57-
##### Example 2
57+
##### Example
5858

5959
```
6060
>> [x] = lsquare_plot_with_qr([0;.5;1;1.3;2;3], [0;1.6;2;1.93;1.06;0.38], {@(t)exp(-t), @(t)exp(-2*t)})

0 commit comments

Comments
 (0)