diff options
| author | drowe67 <[email protected]> | 2024-05-06 06:19:24 +0930 |
|---|---|---|
| committer | David Rowe <[email protected]> | 2024-05-06 06:19:24 +0930 |
| commit | e9f64066a5fb8079cc8d217a4c494930ffda2bf4 (patch) | |
| tree | ec4171cd3f2b16179545e96b00186cff48c772f7 /octave/ofdm_helper.m | |
| parent | aebdd11464a6632c9722cf2db2a4494437404674 (diff) | |
| parent | d21ff74c5f830a275d291a00043b2526a1bf9e62 (diff) | |
merge with main and fix conflict (I hope)dr-codec2-doc
Diffstat (limited to 'octave/ofdm_helper.m')
| -rw-r--r-- | octave/ofdm_helper.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/octave/ofdm_helper.m b/octave/ofdm_helper.m index b34ec23..38c0248 100644 --- a/octave/ofdm_helper.m +++ b/octave/ofdm_helper.m @@ -44,7 +44,8 @@ function print_config(states) printf("Nc=%d Ts=%4.3f Tcp=%4.3f Ns: %d Np: %d\n", Nc, 1/Rs, Tcp, Ns, Np); printf("Nsymperframe: %d Nbitsperpacket: %d Nsamperframe: %d Ntxtbits: %d Nuwbits: %d Nuwframes: %d\n", Ns*Nc, Nbitsperpacket, Nsamperframe, Ntxtbits, Nuwbits, Nuwframes); - printf("uncoded bits/s: %4.1f\n", Nbitsperpacket*Fs/(Np*Nsamperframe)); + printf("uncoded bits/s: %4.1f Duration (incl post/preamble): %4.2f s\n", + Nbitsperpacket*Fs/(Np*Nsamperframe), (Np+2)*Ns*(Tcp+1/Rs)); end %----------------------------------------------------------------------- |
