|
function | Decimate_v1 (in param) |
| Class constructor. More...
|
|
function | traverse (in obj, in in) |
| Chooses a decimator, decimates, plots. More...
|
|
function | traverseNode (in obj) |
| Set unique ID when creating a unit. More...
|
|
function | connectOutput (in obj, in uobj, in unitOutput, in nextUnitInput) |
| Specify where signal should go next. More...
|
|
function | connectOutputs (in obj, in units, in destInputs) |
| Specify where signal should go next. More...
|
|
function | writeInputBuffer (in obj, in sig, in inputId) |
| write input buffer
|
|
function | horzcat (in varargin) |
| horizontal concatenation
|
|
function | vertcat (in varargin) |
| vertical concatenation
|
|
function | setparams (in obj, in params, in REQUIRED_PARAMS, in QUIET_PARAMS) |
| set parameters More...
|
|
function | view (in obj) |
| Show interactive GUI through unit_view-class.
|
|
|
static function | decimate (in x, in Nss_in, in Nss_out, in offset) |
| Decimation by the maximum variance method. More...
|
|
static function | GardDecimate (in x, in Nss_in, in Nss_out, in offset) |
| Decimation using Gardner criteria. More...
|
|
static function | NyquistGardDecimate (in x, in Nss_in, in Nss_out, in offset) |
| Decimation using Nyquist/Gardner criteria. More...
|
|
static function | SLNDecimate (in x, in Nss_in, in Nss_out, in offset) |
| Decimation using SLN criteria. More...
|
|
Decimator.
Performs decimation according to the user-specified criterion.
Example:
param.Nss = 2; %number of samples per symbol out
param.method = 'gardner' %criterion
param.sig.L = 10e6;
param.sig.Fs = 64e9;
param.sig.Fc = 193.1e12;
param.sig.Rs = 10e9;
param.sig.PCol = [
pwr(20,{-2,
'dBm'}),
pwr(-inf,{-inf,
'dBm'})];
Ein = rand(1000,2);
sigOut = decimator.traverse(sigIn);
- Version
- 3
Definition at line 31 of file Decimate_v1.m.
static function Decimate_v1::GardDecimate |
( |
in |
x, |
|
|
in |
Nss_in, |
|
|
in |
Nss_out, |
|
|
in |
offset |
|
) |
| |
|
static |
Decimation using Gardner criteria.
Reference: F. Gardner, "A BPSK/QPSK Timing-Error Detector for Sampled Receivers," IEEE Trans. Commun., vol. 34, no. 5, pp. 423–429, May 1986.
- Parameters
-
x | signal to be decimated |
Nss_in | Number of samples per symbol in |
Nss_out | Number of samples per symbol out |
offset | offset to apply |
- Return values
-
out | downsampled signal |
idx | sampling point |
symbols | reshaped input |
static function Decimate_v1::SLNDecimate |
( |
in |
x, |
|
|
in |
Nss_in, |
|
|
in |
Nss_out, |
|
|
in |
offset |
|
) |
| |
|
static |
Decimation using SLN criteria.
SLN = "square law nonlinearity"
Reference: M. Oerder and H. Meyr, “Digital filter and square timing recovery,” IEEE Trans. Commun. 36(5), 605–61 (1988).
- Parameters
-
x | signal to be decimated |
Nss_in | Number of samples per symbol in |
Nss_out | Number of samples per symbol out |
offset | offset to apply |
- Return values
-
out | downsampled signal |
idx | sampling point |
symbols | reshaped input |