Update README.md

Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
David Rotermund 2023-12-15 14:39:38 +01:00 committed by GitHub
parent f675253f69
commit d3261e4b55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -151,6 +151,15 @@ plt.show()
```
![image3a](image3a.png)
```python
plt.plot(t, np.imag(np.fft.ifft(fft_result)))
plt.ylabel("imag(ifft(fft(x)))")
plt.xlabel("t")
plt.title("FFT")
plt.show()
```
![image3b](image3b.png)
```python
plt.plot(t, x - np.real(np.fft.irfft(rfft_result)))
@ -162,6 +171,17 @@ plt.show()
![image4](image4.png)
```python
plt.plot(t, np.imag(np.fft.irfft(rfft_result)))
plt.ylabel("imag(irfft(rfft(x)))")
plt.xlabel("t")
plt.title("rFFT")
plt.show()
```
![image4b](image4b.png)
## [Discrete Fourier Transform (numpy.fft)](https://numpy.org/doc/stable/reference/routines.fft.html#discrete-fourier-transform-numpy-fft)
## [Standard FFTs](https://numpy.org/doc/stable/reference/routines.fft.html#standard-ffts)