cdma report formatting

This commit is contained in:
eneller
2026-03-23 21:22:50 +01:00
parent e51446df9f
commit fbcdd7a302

View File

@@ -49,6 +49,9 @@ print(lines)
print(lines_bin) print(lines_bin)
``` ```
```{r, results='asis', echo=FALSE}
cat("\\newpage")
```
## Orthogonal Code ## Orthogonal Code
For an orthogonal code, we are looking for vectors $(a,b,...n)$ that satisfy pairwise orthogonality $a \perp b$. For an orthogonal code, we are looking for vectors $(a,b,...n)$ that satisfy pairwise orthogonality $a \perp b$.
```{r orth} ```{r orth}
@@ -103,6 +106,10 @@ We can now do a simple check if all the values we decoded are the same:
decoded_m == lines_bin decoded_m == lines_bin
``` ```
```{r, results='asis', echo=FALSE}
cat("\\newpage")
```
Then we apply our text encoding on each line separately, respecting the LSB/MSB order. Then we apply our text encoding on each line separately, respecting the LSB/MSB order.
```{r text-decode} ```{r text-decode}
chunk <- function(x, chunk_size) { chunk <- function(x, chunk_size) {