cdma report formatting
This commit is contained in:
7
cdma.Rmd
7
cdma.Rmd
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user