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
-
"Low : High - Low : High - Turn around " -- Create a subindices vector
591 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
654 Solvers
-
Permute diagonal and antidiagonal
520 Solvers
-
2775 Solvers
-
124 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!