Skip to content

Commit

Permalink
fix: invert sign of group delay
Browse files Browse the repository at this point in the history
  • Loading branch information
edy555 committed Oct 21, 2019
1 parent b807904 commit 1cf19fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plot.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ float phase(float *v)
/*
* calculate groupdelay
*/
float groupdelay(float *w, float *v, float deltaf)
float groupdelay(float *v, float *w, float deltaf)
{
#if 1
// atan(w)-atan(v) = atan((w-v)/(1+wv))
Expand Down

0 comments on commit 1cf19fa

Please sign in to comment.