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
-
Find the "ordinary" or Euclidean distance between A and Z
177 Solvers
-
Replace all zeros and NaNs in a matrix with the string 'error'
104 Solvers
-
The Answer to Life, the Universe, and Everything
588 Solvers
-
Create a two dimensional zero matrix
532 Solvers
-
Side of an equilateral triangle
7208 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!