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
-
143 Solvers
-
Number of 1s in a binary string
11662 Solvers
-
How long do each of the stages of the rocket take to burn?
568 Solvers
-
6036 Solvers
-
Find the Oldest Person in a Room
21618 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!