Changeset 5474

Show
Ignore:
Timestamp:
10/22/07 12:51:23 (6 years ago)
Author:
jgaeddert
Message:

fixing bug in SigProc?, generate RRC filter coefficients; root check threshold was set too high; problematic when calculating derivative coefficients

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • SigProc/trunk/SigProc/filters.cpp

    r4995 r5474  
    132132 
    133133            // Check for special condition where 16*beta^2*z^2 equals 1 
    134             if ( g < 1e-3 ) { 
     134            if ( g < 1e-6 ) { 
    135135                float g1, g2, g3, g4; 
    136136                g1 = -(1+beta)*pi*sin((1+beta)*pi/(4*beta)); 
     
    407407 
    408408        for (c=0; c<h_len; c++) { 
    409             printf("%0.3f ", H[B + c]); 
     409            printf("%E ", H[B + c]); 
    410410        } 
    411411        printf(";\n");