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]
53249 Solvers
-
Sort a list of complex numbers based on far they are from the origin.
5809 Solvers
-
Maximum running product for a string of numbers
2257 Solvers
-
8141 Solvers
-
5362 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!