mirror of
https://github.com/aicodix/modem.git
synced 2026-04-27 22:35:41 +00:00
need to align the rotation
This commit is contained in:
parent
b857741d9d
commit
e57afffecf
2 changed files with 4 additions and 3 deletions
|
|
@ -68,7 +68,7 @@ struct Encoder
|
|||
CODE::MLS seq(0b1100111);
|
||||
for (int i = 0; i < symbol_len; ++i)
|
||||
fdom[i] = 0;
|
||||
#if 0
|
||||
#if 1
|
||||
fdom[first_subcarrier+1] = std::sqrt(value(2 * symbol_len) / value(subcarrier_count));
|
||||
for (int i = first_subcarrier + 2; i < first_subcarrier + subcarrier_count + 1; ++i)
|
||||
fdom[i] = fdom[i-1] * cmplx(nrz(seq()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue