In mathematics, the Fibonacci numbers/ series/sequence are the numbers in the following integer sequence 0,1,1,2,3,5,8,13,21,....,.The first two numbers in the sequence are 0 and 1, and each subsequent number is the sum of the previous two.
And another code, which destroys the former work and prevents debugging by the brute clearing header "clc, clear all". This reduces the usability substantially.
There are a lot of other Fibonacci functions in the FEX. Why do you think, that this one should be published also?
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.