{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# p05c: Repetition of p05 using scipy.fftpack.diff\n",
"\n",
"[scipy.fftpack](https://docs.scipy.org/doc/scipy/reference/fftpack.html) is considered legacy package and may not receive updates."
]
},
{
"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 scipy.fftpack import diff\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": [
"