Simulink and simulation of logistic map

6 ビュー (過去 30 日間)
Piotr
Piotr 2012 年 11 月 3 日
コメント済み: Supratik Das 2020 年 8 月 13 日
Hello, I have assignment to make, a logistic map simulation in simulink using Discrete State Space and Math Function (square), and to be honest I have no idea how to do it. Is tere a way to make Discrete State Space to calculate x(i+1) using square function like x(i)(1-x(i)) not just x(i). My first thought was to use u as x but that is just stupid and it doesn't work. Do you have any suggestions how to solve this ?

採用された回答

Jonathan Epperl
Jonathan Epperl 2012 年 11 月 3 日
So the logistic map is x(n+1)=r*x(n)*(1-x(n)) = r*x(n) -r*x(n)^2. Using the Discrete SS block and a square, how about that decomposition:
x(n+1) = r*x(n) -r*u(n)
y(n) = x(n)
u(n) = y^2(n)
Now x(n) should show the exact same behavior as x(n) in the logistic map.

その他の回答 (1 件)

Piotr
Piotr 2012 年 11 月 3 日
Thank you, seams to be working. I feel stupid for not thinking of this. Anyway thanks a lot
  1 件のコメント
Supratik Das
Supratik Das 2020 年 8 月 13 日
hey can you please share me your simulink file for logistic mapping

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by