summaryrefslogtreecommitdiff
path: root/gr-digital/examples/demod
diff options
context:
space:
mode:
authorAndy Walls <awalls.cx18@gmail.com>2017-08-06 08:15:15 -0400
committerAndy Walls <awalls.cx18@gmail.com>2017-08-06 08:15:15 -0400
commitdfa01b39cf91df6387afb905285c57df9ba8e295 (patch)
treeb0781ceff081180b7b1c39d036ab9658fea04c35 /gr-digital/examples/demod
parent811bee8c54bdca5c53c2ccbc6ef6d1bbca55eaae (diff)
digital: Correct gain formulas in example symbol sync flowgraphs
Diffstat (limited to 'gr-digital/examples/demod')
-rw-r--r--gr-digital/examples/demod/symbol_sync_test_complex.grc4
-rw-r--r--gr-digital/examples/demod/symbol_sync_test_float.grc4
2 files changed, 4 insertions, 4 deletions
diff --git a/gr-digital/examples/demod/symbol_sync_test_complex.grc b/gr-digital/examples/demod/symbol_sync_test_complex.grc
index cd0ca99e23..11a044d382 100644
--- a/gr-digital/examples/demod/symbol_sync_test_complex.grc
+++ b/gr-digital/examples/demod/symbol_sync_test_complex.grc
@@ -251,7 +251,7 @@
</param>
<param>
<key>value</key>
- <value>(2.0-proportional_gain-2.0*math.exp(-zeta*omega_n_norm)*(math.cosh(omega_d_norm) if zeta &gt; 1.0 else math.cos(omega_d_norm)))/ted_gain</value>
+ <value>2.0/ted_gain*(1.0-math.exp(-zeta*omega_n_norm)*(math.sinh(zeta*omega_n_norm)+(math.cosh(omega_d_norm) if zeta &gt; 1.0 else math.cos(omega_d_norm))))</value>
</param>
</block>
<block>
@@ -1771,7 +1771,7 @@
</param>
<param>
<key>ted_gain</key>
- <value>1.0</value>
+ <value>ted_gain</value>
</param>
<param>
<key>nfilters</key>
diff --git a/gr-digital/examples/demod/symbol_sync_test_float.grc b/gr-digital/examples/demod/symbol_sync_test_float.grc
index 5507cbf848..b0213d8b10 100644
--- a/gr-digital/examples/demod/symbol_sync_test_float.grc
+++ b/gr-digital/examples/demod/symbol_sync_test_float.grc
@@ -251,7 +251,7 @@
</param>
<param>
<key>value</key>
- <value>(2.0-proportional_gain-2.0*math.exp(-zeta*omega_n_norm)*(math.cosh(omega_d_norm) if zeta &gt; 1.0 else math.cos(omega_d_norm)))/ted_gain</value>
+ <value>2.0/ted_gain*(1.0-math.exp(-zeta*omega_n_norm)*(math.sinh(zeta*omega_n_norm)+(math.cosh(omega_d_norm) if zeta &gt; 1.0 else math.cos(omega_d_norm))))</value>
</param>
</block>
<block>
@@ -1591,7 +1591,7 @@
</param>
<param>
<key>ted_gain</key>
- <value>1.0</value>
+ <value>ted_gain</value>
</param>
<param>
<key>nfilters</key>