IEEE.org
|
IEEE Xplore Digital Library
|
IEEE Standards
|
IEEE Spectrum
|
More Sites
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Joshua Gay
IEEE P1765 Recommended Practice for EVM Measurement and Uncertainty Evaluation
Commits
fa921b9c
Commit
fa921b9c
authored
Jun 29, 2021
by
Martin Hudlicka
Browse files
Deleted
parent
317a3028
Changes
1
Hide whitespace changes
Inline
Side-by-side
03 P1765 Baseline EVM Algorithms/Single_Carrier/F_freqSqrtRaisedCosine.m
deleted
100644 → 0
View file @
317a3028
function
Hrrc
=
F_freqSqrtRaisedCosine
(
Tsym
,
alpha
,
deltaT
,
N
)
% This function generates the frequency response of a root raised cosine
% filter using the definition in the following reference:
% M. Joost, "Theory of Root-Raised Cosine Filter," published online at
% www.michael-joost.de/rrcfilter.pdf
% See Section 5.2.1 of IEEE P1765 document: Filter the Baseband Signals
% INPUTS:
% Tsym: Symbol duration in ns, inverse of symbol rate
% alpha: Root raised cosine filter rolloff
% deltaT: Point spacing in ns, inverse of sample rate
% N: Total number of points
% OUTPUTS:
% Hrrc: Transfer function of the root-raised cosine filter
% The Hrrc is defined in three frequency ranges
% At lower frequencies, f < f1, constant spectrum
% For frequencies, f1 > f > f2, root raised cosine function
% At higher frequencies, f > f2, zero
% Calculate the frequencies f1 and f2:
f2
=
((
1.0
+
alpha
)
/
2.0
)
/
double
(
Tsym
);
% Maximum filter frequency
f1
=
((
1.0
-
alpha
)
/
2.0
)
/
double
(
Tsym
);
% Start of rolloff
deltaF
=
1.0
/
(
double
(
N
)
*
deltaT
);
% Frequency spacing
ns
=
floor
(
f2
/
deltaF
);
% Set of frequencies in the passband of the filter
Ntotal
=
1
+
2
*
ns
;
Hrrc
=
complex
(
zeros
(
Ntotal
,
1
));
B
=
sqrt
(
Tsym
);
% Create the filter values
k
=
0
;
for
kFreq
=
-
ns
:
ns
Freq
=
double
(
kFreq
)
*
deltaF
;
k
=
k
+
1
;
if
abs
(
Freq
)
<=
f1
Hrrc
(
k
)
=
B
;
elseif
abs
(
Freq
)
<=
f2
Hrrc
(
k
)
=
(
B
/
sqrt
(
2.0
))
*
sqrt
(
1.0
+
cos
(
pi
*
(
Tsym
/
alpha
)
*
((
abs
(
Freq
)
-
f1
))));
end
end
end
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment