{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# p05b: Repetition of p05 via real FFT"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"%config InlineBackend.figure_format='svg'\n",
"# For complex v, delete \"real\" commands.\n",
"from numpy import pi,inf,linspace,maximum,abs,zeros,arange,real,sin,cos,exp\n",
"from numpy.fft import rfft,irfft\n",
"from numpy.linalg import norm\n",
"from matplotlib.pyplot import figure,subplot,plot,axis,title,text"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"\n",
"\n",
"\n"
],
"text/plain": [
"