From 91e06a51bab222747cabba793a0ca8fadcd0d1e6 Mon Sep 17 00:00:00 2001 From: Ragy Ibrahim Date: Tue, 24 May 2022 17:16:37 +1000 Subject: [PATCH] Added sig5 to the final signal summation Created 5 cosine signals with varying frequencies however signal with freq **987** was not included in the final signal. Added sig5 to the final signal summation --- code/thinkdsp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/thinkdsp.py b/code/thinkdsp.py index 158f6430..aa62d8de 100644 --- a/code/thinkdsp.py +++ b/code/thinkdsp.py @@ -1948,7 +1948,7 @@ def main(): sig3 = CosSignal(freq=660) sig4 = CosSignal(freq=880) sig5 = CosSignal(freq=987) - sig = sig1 + sig2 + sig3 + sig4 + sig = sig1 + sig2 + sig3 + sig4 + sig5 # wave = Wave(sig, duration=0.02) # wave.plot()