x_(n+1) plotting
이전 댓글 표시
hello, i have simple series, 

i wish to plot this equation for r[1,5]
how should i do it?
I tried to do a function but because the value squared and the r changes it dosnt converge,
It's part of a pretty urgent physical study so I'd love someone to help me!
Even a beginner's guide to series of this kind
댓글 수: 9
Torsten
2022년 1월 15일
What do you mean by r[1,5] ?
You want to plot two series, one for r=1 and one for r=5 ?
Keren Grinberg
2022년 1월 15일
Torsten
2022년 1월 15일
i need to cpmare this equation to others that look like that:
What does cpmare mean ?
What is the value for x_0 you are supposed to use ?
Torsten
2022년 1월 15일
Ah, google was successful associating "compare" with "cpmare"
Keren Grinberg
2022년 1월 15일
Which recursion is used for the graphics you included ?
Can you give a link to a publication ?
I thought your problem was just as easy as
x0 = 0.2;
niter = 5;
R=(0:0.1:5).';
N = numel(R);
x = zeros(1,niter);
X = [];
for i=1:N
r = R(i);
x(1) = x0;
for j=1:niter-1
x(j+1) = r*x(j)*(1-x(j));
end
X = [X;x];
end
plot(R,X)
but now I have doubts if this is really what you are aiming at.
Keren Grinberg
2022년 1월 15일
Torsten
2022년 1월 15일
And you can't describe the real task ?
Keren Grinberg
2022년 1월 15일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Physics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


