Use the fft and ifft function from scipy to repeat Problem 10.
Problem 10
Use the DFT function and inverse DFT we implemented, and generate the amplitude spectrum for the signal you generated in Problem 5. Normalize the DFT amplitude to get the correct corresponding time domain amplitude.
Problem 5
Generate two signals: signal 1 is a sine wave with 5 Hz, amplitude 3, and phase shift 3, and signal 2 is a sine wave with 2 Hz, amplitude 2, and phase shift −2. Plot the signal for 2 s. Test cases:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here