Question: Help me change the Variable R to be the size of [ 1 2 6 ] instead of [ 1 2 7 ] F =

Help me change the Variable R to be the size of [126] instead of [127]
F=zecos(1,27)
R=zeros(1,26)
F(1)=0
F(2)=1
R(1)=0
R(2)=0.5
for i=3:27
F(i)=F(i-1)+F(i-2)
R(i)=Fi-1F(i)
end
F
R
x=1:27
plot(x,F)
ylim?([05000])
title("Fibonacci numbers")
ylabel("Fibonacci numbers")
xlabel("x")
plot(x,R)
title("Fibonacci numbers")
ylabel("Fibonacci numbers")
xlabel("x")
 Help me change the Variable R to be the size of

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!