How do I plot a tent-map?
8 ビュー (過去 30 日間)
古いコメントを表示
I have to plot the given function
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1651951/image.png)
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 件のコメント
採用された回答
Stephen23
2024 年 3 月 26 日
"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 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!