How do I plot a tent-map?

I have to plot the given function
on the unit interval. How can I do that? I didn't find any useful answers on MATLAB to even start the plotting procedure of the piecewise linear function.
Thanks

4 Commenti

Dyuman Joshi
Dyuman Joshi il 26 Mar 2024
"How can I do that?"
Follow the logic given to obtain the values and plot accordingly.
What seems to be the problem?
Sergio
Sergio il 26 Mar 2024
@Dyuman Joshi That 2 number, is a period. The subscript of T. One has to use the graph of T_2^n to conclude that T_2 has eactly 2^n periodic points of period n. This is not so straigth forward from a regular plot.
Dyuman Joshi
Dyuman Joshi il 26 Mar 2024
And how would T_2^n be defined?
Sergio
Sergio il 26 Mar 2024
Modificato: Sergio il 26 Mar 2024
@Dyuman Joshi I think by
are iterations, not differentiations.

Accedi per commentare.

 Risposta accettata

"How do I plot a tent-map?"
Following the basic definition of tent map:
X = 0:0.01:1;
Y = min(2*X,2-2*X);
plot(X,Y)

Più risposte (0)

Prodotti

Release

R2024a

Richiesto:

il 26 Mar 2024

Risposto:

il 26 Mar 2024

Community Treasure Hunt

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

Start Hunting!

Translated by