From e04057a5b59d013b31c330765691d2b3c2aceabc Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Sat, 18 Mar 2017 11:35:31 +0000 Subject: [PATCH] Update P25 raised cosine filter coefficients. --- P25TX.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/P25TX.cpp b/P25TX.cpp index 0acc5da..42cbfc3 100644 --- a/P25TX.cpp +++ b/P25TX.cpp @@ -26,12 +26,12 @@ #if defined(WIDE_C4FSK_FILTERS_TX) // Generated using rcosdesign(0.2, 4, 5, 'normal') in MATLAB -static q15_t P25_C4FSK_FILTER[] = {-1393, -2602, -3044, -2238, 0, 3460, 7543, 11400, 14152, 15152, 14152, 11400, 7543, 3460, 0, -2238, -3044, -2602, -1393, 0}; +static q15_t P25_C4FSK_FILTER[] = {-1392, -2602, -3043, -2238, 0, 3460, 7543, 11400, 14153, 15152, 14153, 11400, 7543, 3460, 0, -2238, -3043, -2602, -1392, 0}; const uint16_t P25_C4FSK_FILTER_LEN = 20U; #else // Generated using rcosdesign(0.2, 8, 5, 'normal') in MATLAB -static q15_t P25_C4FSK_FILTER[] = {0, -413, -750, -845, -587, 0, 741, 1347, 1520, 1062, 0, -1383, -2582, -3021, -2222, 0, 3434, 7487, 11318, 14054, 15044, 14054, - 11318, 7487, 3434, 0, -2222, -3021, -2582, -1383, 0, 1062, 1520, 1347, 741, 0, -587, -845, -750, -413}; +static q15_t P25_C4FSK_FILTER[] = {-413, -751, -845, -587, 0, 740, 1348, 1520, 1063, 0, -1383, -2583, -3021, -2222, 0, 3435, 7488, 11318, 14053, 15044, 14053, + 11318, 7488, 3435, 0, -2222, -3021, -2583, -1383, 0, 1063, 1520, 1348, 740, 0, -587, -845, -751, -413, 0}; const uint16_t P25_C4FSK_FILTER_LEN = 40U; #endif