-
3 Comments
Claytonon 12 Jul 2012
Not really my work; the previous leader did this, I simply reduced the size by 2 using the 'ans trick'.
Felixon 7 Dec 2012
This is not really the correct solution, as for large n it will eventually produce inaccurate results.
Mattiason 2 Jan 2015
True. It can be improved a bit though by using more decimals for phi.
Suggested Problems
Find the numeric mean of the prime numbers in a matrix.
7669 Solvers
395 Solvers
354 Solvers
503 Solvers
300 Solvers
More from this Author95
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!