How do I plot a tent-map?
8 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
Stephen23
on 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)
0 Comments
More Answers (0)
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!