テント写像は
\begin{align}
x_{n+1} = 1-\left | 1 – 2 x_{n} \right |
\end{align}
import numpy as np
from matplotlib import pyplot as plt
N=100
t = np.linspace(0,1,N)
x=np.zeros(N)
x[0]=0.1
for i in range(1, N):
x[i] = 1.0 - np.abs(1.0 - 1.99999 * x[i - 1])
plt.figure(1)
plt.plot(t, x, 'k-')
plt.grid(color='k', linestyle='dotted', linewidth=1)
plt.show()
コメント