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 Solvers26
Suggested Problems
-
Find the sum of all the numbers of the input vector
55051 Solvers
-
1443 Solvers
-
Project Euler: Problem 10, Sum of Primes
2127 Solvers
-
Reverse the elements of an array
1136 Solvers
-
3642 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!