![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/28672092_1671425424760_DEF.jpg)
Kishore
Followers: 0 Following: 0
Feeds
已解决
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
7 months 前
已回答
I can't deal with this code.Please help me:)
clear all; close all; clc; n= input("Enter an number to calculate its fibonacci number: ") F = [1 1]; % Initially F has ...
I can't deal with this code.Please help me:)
clear all; close all; clc; n= input("Enter an number to calculate its fibonacci number: ") F = [1 1]; % Initially F has ...
1 year 前 | 0
已回答
Fibonacci and Golden Ratio
fib=[0 1]; i=3; while(i<=21) fib(i)=fib(i-1)+fib(i-2); gr=fib(i)/fib(i-1) i=i+1; end disp(fib)
Fibonacci and Golden Ratio
fib=[0 1]; i=3; while(i<=21) fib(i)=fib(i-1)+fib(i-2); gr=fib(i)/fib(i-1) i=i+1; end disp(fib)
1 year 前 | 0
已回答
For loop for fibonacci series
fib=[]; fib(1)=0; fib(2)=1; for i=3:10 fib(i)=fib(i-1)+fib(i-2); end disp(fib)
For loop for fibonacci series
fib=[]; fib(1)=0; fib(2)=1; for i=3:10 fib(i)=fib(i-1)+fib(i-2); end disp(fib)
1 year 前 | 0