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
-
Return elements unique to either input
817 Solvers
-
Construct an index vector from two input vectors in vectorized fashion
461 Solvers
-
667 Solvers
-
1699 Solvers
-
1366 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!