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.
348 Solvers
Convert a Cell Array into an Array
430 Solvers
Find the index of n in magic(n)
160 Solvers
Matlab Basics II - Count rows in a matrix
255 Solvers
Calculate square and cube of number
248 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!