mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2026-04-05 14:35:50 +00:00
fix: invert sign of group delay
This commit is contained in:
parent
b80790477c
commit
1cf19fa50a
1 changed files with 1 additions and 1 deletions
2
plot.c
2
plot.c
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue