Problem 44226. Logistic map
The sequence defined by x_n = 4*r*x_{n-1}*(1-x_{n-1}) and a given 0 < x_1 < 1 turns each x_n into a polynomial of r.
Write a function f(x_1, r, n) that returns the coefficients p of this polynomial as a row vector (starting with highest degree) and the value v of this polynomial at r.
Solution Stats
Problem Comments
-
2 Comments
Jean-Marie Sainthillier
on 22 Jun 2017
Mathematical writing is not very clear
Daniel Meier
on 24 Jun 2017
Where would you need more clarity? Wouldn't want to reveal the numerical challenges of evaluating the polynomial.
Solution Comments
Show commentsProblem Recent Solvers8
Suggested Problems
-
Find state names that end with the letter A
1154 Solvers
-
Replace NaNs with the number that appears to its left in the row.
2925 Solvers
-
4354 Solvers
-
Project Euler: Problem 16, Sums of Digits of Powers of Two
134 Solvers
-
Sum the entries of each column of a matrix which satisfy a logical condition.
157 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!