Commit b46a74f6 authored by Renaud Gonce's avatar Renaud Gonce

Add new file

parent e1231e86
function [out] = g_GMSK(t,K,Tb,BTb)
% g_GMSK produces the coefficient of a Gaussian filter such as used in GMSK
% modulation.
% * inputs: t is a vector used as support for the Gaussian
% K is a parameter for the Gaussian amplitude
% Tb is the bit period
% BTb is the Bandwidth - Bit period product
% * output: out is a vector containing the filter coefficients
B = BTb/Tb;
out = -K/(2*sqrt(log(2))) * (erf(2*B*pi* (t-Tb/2)/sqrt(log(4))) - erf(2*B*pi* (t+Tb/2)/sqrt(log(4))));
end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment