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
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
52921 Solvers
-
3997 Solvers
-
Calculate the Hamming distance between two strings
345 Solvers
-
Who has power to do everything in this world?
486 Solvers
-
512 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!