Write a MATLAB function called fibonacci_sequence(n) that takes an integer n as input and returns the first n terms of the Fibonacci sequence as an array.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers33
Suggested Problems
-
Find the sum of the elements in the "second" diagonal
1208 Solvers
-
558 Solvers
-
Flip the vector from right to left
11438 Solvers
-
1167 Solvers
-
the average value of the elements
2425 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!