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.
337 Solvers
Flip the main diagonal of a matrix
506 Solvers
2539 Solvers
Create matrix of replicated elements
321 Solvers
07 - Common functions and indexing 3
317 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!