In mathematics the Fibonacci numbers are a sequence of numbe
     In mathematics, the Fibonacci numbers are a sequence of numbers, where each number is the sum of the previous two. The first two numbers of the Fibonacci sequence are 0 and 1. So, the Fibonacci sequence has the following form:  0,1,1, 2, 3,5,8,13,21,34,55,89,144....,  Please write a MATLAB script, file that finds the 50th number in this Fibonacci sequence. What is the number MATLAB finds?  Please write a MATLAB program that calculates the summation of the first. 50 numbers from the Fibonacci sequence 0,1,1.2.3,5.8,13,21.34,55,89,144,.... 
  
  Solution
1) program to find the fibonacci series upto 50th number
f(1) = 1;
 f(2) = 1;
for i = 3: 50
 f(i) = f(i-1) + f(i-2);
 str = [num2str(f(50))];
   
 end
 disp(str)

