![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/17606492_1582371170331_DEF.jpg)
NEHA THAKUR
Followers: 0 Following: 0
Feeds
已回答
Generating Fibonacci Sequence Using While Loop
fibf(1) = 1; fibf(2) = 1; n=3 while fibf(n-1) < 1000 fibf(n) = fibf(n-1)+fibf(n-2); n=n+1; end
Generating Fibonacci Sequence Using While Loop
fibf(1) = 1; fibf(2) = 1; n=3 while fibf(n-1) < 1000 fibf(n) = fibf(n-1)+fibf(n-2); n=n+1; end
4 years 前 | 1