There is a nonlinear dynamic system x_n = f(x_n,eta)
whose functional form is x[n+1] = 2*x[n] mod 1
. This is a chaotic dynamical system called as the Sawtooth map or the Bernoulli Map. I am facing difficulty in implementing the two representations of the inverse mapping given by Eq(4) and Eq(5). Following is a brief description of the problem.
where the sequence (s[n+k])_k=1 to N-1
is the symbolic description of the state x[n].
This description arises from the partitioning of the unit interval described below.
Let, the number of partitions M = 2 and the symbol space = {0,1} and the rule for assigning symbols is
s[n+1] = 1 if x[n] >= 0.5, otherwise s[n+1] = 0
Authors of this paper :
Linear, Random Representations of Chaos
For Eq(5) I am not getting the same time series after inverse, few values differ after doing the binary to real conversion. Can somebody please let me the correct procedure?
I tried to implement the Bijective map for the Eqs(4) and (5), but it does not work.
Code for Eq(5) - I am binarizing into 2 ways. x
contains the real numbers; s
is the 0/1 binary equivalent of each real; y
is the answer after converting s
to real. s1 is the +1/-1 binary equivalent of x; b is the answer after converting to real. In this case of +1/-1, when I am converting from symbolic representation to real, I switch -1 with 0 and then apply the formula in Eq(5). From the answers, it can be seen that y
and b
are not the same as x
after doing the conversion. I am also getting negative reals for b when the original reals are all unsigned rationals!! How can I correctly implement so that they are both same?
N =10;
x(1) = 0.1;
for i =1 : N
x(i+1) = mod(x(i)*2, 1);
end
y = x;
s = (y>=0.5); %generate 0/1 logicals
for n = 1: N
y(n) = 0.5*s(n+1) + 0.5*y(n+1);
end
b=x;
s1 = 2*(b>=0.5)-1; %Generate +1/-1
for k =1: N
if s1(k)== -1
s1(k) = 0;
end
b(k) = 0.5*s1(k+1) + 0.5*b(k+1);
end
Let, x =
0.100000000000000 0.200000000000000 0.400000000000000 0.800000000000000 0.600000000000000 0.200000000000000 0.400000000000000 0.800000000000001 0.600000000000001 0.200000000000003 0.400000000000006
y =
0.100000000000000 0.200000000000000 0.900000000000000 0.800000000000000 0.100000000000000 0.200000000000000 0.900000000000000 0.800000000000001 0.100000000000001 0.200000000000003 0.400000000000006
b =
-0.400000000000000 0.700000000000000 0.900000000000000 -0.200000000000000 -0.400000000000000 0.700000000000000 0.900000000000000 -0.199999999999999 -0.399999999999999 -0.299999999999997 0.400000000000006
k
increases fromn
ton+N-1
. So\beta_inverse(s_n)
usess_n
? How? Also I don't think it usess(9),...,s(1)
. Another thing, do we have to read the entire question to answer? – Odyl