Added presentation; DE-QPSK; CD with FFT; split-step Fourier
[4yp.git] / txFilter.m
index 49164d3..507ffe1 100644 (file)
@@ -12,6 +12,7 @@ function x = txFilter(modData, rolloff, span, sps)
                ('Shape', 'Square root', ...
                 'RolloffFactor', rolloff, ...
                 'FilterSpanInSymbols', span, ...
-                'OutputSamplesPerSymbol', sps);
+                'OutputSamplesPerSymbol', sps, ...
+                'Gain', sqrt(sps)); % so that output has energy 1
   x = filter([modData; zeros(span, 1)]);
 end