Write the MATLAB algorithm to calculate the summation of the Fibonacci series (0, 1, 1, 2, 3, 5, 8, 13, 21, ...) numbers and length of series defined by the user. Print all numbers in the user-defined series and the last summation. (25 Points)
Fibonacci Sequence:
The rule is X = Xn-1 + Xn-2
where:
Xn is term number "n"
Xn-1 is the previous term (n-1)
Xn-2 is the term before that (n-2)
X1 = 0; X2 = 1