nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
fsk_ofdm.hpp
Go to the documentation of this file.
1
3// toolboxes/comm/include/nk/comm/modulation/fsk_ofdm.hpp
4//
5// Frequency-shift keying and OFDM modulation.
6
7#pragma once
8
9#include <memory_resource>
10#include <nk/value/value.hpp>
11
12#include <string>
13
14namespace nk::comm {
15
18
19
34Value fskmod(const Value &x, int M, double freq_sep, int nsamp,
35 double fs, const std::string &phase_continuity,
36 const std::string &symbol_order,
37 std::pmr::memory_resource *mr = nullptr);
38
54Value fskdemod(const Value &y, int M, double freq_sep, int nsamp,
55 double fs, const std::string &symbol_order,
56 std::pmr::memory_resource *mr = nullptr);
57
67Value ofdmmod(const Value &in, int nfft, int cplen,
68 std::pmr::memory_resource *mr = nullptr);
69
83Value ofdmdemod(const Value &in, int nfft, int cplen, int symoffset,
84 std::pmr::memory_resource *mr = nullptr);
85
86
88} // namespace nk::comm
Core MATLAB-compatible multidimensional array and scalar value type.
Definition value.hpp:61
Value ofdmmod(const Value &in, int nfft, int cplen, std::pmr::memory_resource *mr=nullptr)
Basic OFDM modulator (y = ofdmmod(in, nfft, cplen)).
Value fskmod(const Value &x, int M, double freq_sep, int nsamp, double fs, const std::string &phase_continuity, const std::string &symbol_order, std::pmr::memory_resource *mr=nullptr)
M-ary FSK modulator (y = fskmod(x, M, freq_sep, nsamp, fs, phase_continuity, symbol_order)).
Value fskdemod(const Value &y, int M, double freq_sep, int nsamp, double fs, const std::string &symbol_order, std::pmr::memory_resource *mr=nullptr)
M-ary FSK demodulator (x = fskdemod(y, M, freq_sep, nsamp, fs, symbol_order)).
Value ofdmdemod(const Value &in, int nfft, int cplen, int symoffset, std::pmr::memory_resource *mr=nullptr)
Basic OFDM demodulator (out = ofdmdemod(in, nfft, cplen, symoffset)).