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 Solvers23
Suggested Problems
-
5039 Solvers
-
Remove all the words that end with "ain"
2648 Solvers
-
662 Solvers
-
Sum of first n terms of a harmonic progression
499 Solvers
-
Calculate the average value of the elements in the array
1744 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!