This solution is outdated. To rescore this solution, sign in.
-
3 Comments
Clayton
on 12 Jul 2012
Not really my work; the previous leader did this, I simply reduced the size by 2 using the 'ans trick'.
Felix
on 7 Dec 2012
This is not really the correct solution, as for large n it will eventually produce inaccurate results.
Mattias
on 2 Jan 2015
True. It can be improved a bit though by using more decimals for phi.
Suggested Problems
-
Find relatively common elements in matrix rows
2103 Solvers
-
Number of 1s in the Binary Representation of a Number
462 Solvers
-
829 Solvers
-
437 Solvers
-
Celsius to Fahrenheit converter
642 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!