Question: Matlab 4. A Fibonacci sequence is composed of elements created by adding the two previous dance The simplest Fibonacci sequence starts with 1. 1 and

Matlab
4. A Fibonacci sequence is composed of elements created by adding the two previous dance The simplest Fibonacci sequence starts with 1. 1 and proceeds as follows: 1, 1, 2, 3, 5, 8, 13,... However, a Fibonacci sequence can be created with any two starting numbers Prompt the user to enter the first two numbers in a Fibonacci sequence and the total number of elements requested for the sequence. Find the sequence and store it in an array by using a for loop. (20p) Screen view should be as follows: Enter the first number in a Fibonacci sequence: 3 Enter the second number in the sequence: 5 How many values in this sequence would you like to display? 6 result - 3 5 8 13 21 34
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
