projects
/
4yp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into images
[4yp.git]
/
txFilter.m
diff --git
a/txFilter.m
b/txFilter.m
index
49164d3
..
507ffe1
100644
(file)
--- a/
txFilter.m
+++ b/
txFilter.m
@@
-12,6
+12,7
@@
function x = txFilter(modData, rolloff, span, sps)
('Shape', 'Square root', ...
'RolloffFactor', rolloff, ...
'FilterSpanInSymbols', span, ...
('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
x = filter([modData; zeros(span, 1)]);
end