How do I plot a tent-map?

10 vues (au cours des 30 derniers jours)
Sergio
Sergio le 26 Mar 2024
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 commentaires
Dyuman Joshi
Dyuman Joshi le 26 Mar 2024
And how would T_2^n be defined?
Sergio
Sergio le 26 Mar 2024
Modifié(e) : Sergio le 26 Mar 2024
@Dyuman Joshi I think by
are iterations, not differentiations.

Connectez-vous pour commenter.

Réponse acceptée

Stephen23
Stephen23 le 26 Mar 2024
"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)

Plus de réponses (0)

Produits


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by