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
-
Find the peak 3n+1 sequence value
2568 Solvers
-
468 Solvers
-
Convert a numerical matrix into a cell array of strings
2392 Solvers
-
Replace all zeros and NaNs in a matrix with the string 'error'
103 Solvers
-
118 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!