you must decide how the input variable is named: 'n', 'nx' or 'x'!! :-/
I cleaned things up a little.
Hard-coded solutions based on look-up tables for F_n or (F_n)², such as Solution 1506329, should be banned and failed by the Test Suite.
I do not undertand the problem. If you provide the fibonacci sequence, there is nothing to do.
4628 Solvers
Back to basics 19 - character types
226 Solvers
150 Solvers
Determine the number of odd integers in a vector
447 Solvers
Sum the 'edge' values of a matrix
237 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!