Can anyone help me implement skewed tent map? T= x/a , if x is between 0 to 0.5 ;;;;;; T= (1-x)/(1-a) , if x is between 0.5 to 1.

5 views (last 30 days)
I need to map it a plot for it.

Accepted Answer

Image Analyst
Image Analyst on 14 Oct 2014
Did you try something like this
workspace;
fontSize = 25;
a = .2; % Whatever you want.
numberOfPoints = 100; % Some even number.
halfWay = numberOfPoints / 2;
x = linspace(0, 1, numberOfPoints);
T1 = x(1 : halfWay)/a;
T2 = (1-x(halfWay+1 : numberOfPoints))/(1-a);
T = [T1, T2];
plot(x, T, 'bo-', 'LineWidth', 2);
xlabel('x', 'FontSize', fontSize);
ylabel('T', 'FontSize', fontSize);
caption = sprintf('Tent Map for a = %.3f', a);
title(caption, 'FontSize', fontSize);
grid on;
% Enlarge figure to full screen.
set(gcf, 'Units', 'Normalized', 'OuterPosition', [0 0 1 1]);
  3 Comments
Nilu Desai
Nilu Desai on 14 Oct 2014
I need to find the chaotic points in it.. If I give any random numbers from 0.1 to 0.9.. I should get a precise plot for it

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!