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
-
First non-zero element in each column
967 Solvers
-
Sum of first n terms of a harmonic progression
522 Solvers
-
515 Solvers
-
Generate a random matrix A of (1,-1)
435 Solvers
-
716 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!