Golden Ratio

Version 1.8 (408 Bytes) by Kurt von Laven
Computes the golden ratio.
1.2K Downloads
Updated 13 Mar 2015

View License

The golden ratio is a mathematical constant with value ( 1 + sqrt(5) ) / 2.

Cite As

Kurt von Laven (2024). Golden Ratio (https://www.mathworks.com/matlabcentral/fileexchange/28845-golden-ratio), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Grid Sphere

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.8

Removed parentheses from title, and added missing space.

1.7.0.0

Marked GoldenRatio.m user-executable.

1.6.0.0

Corrected copyright year; it should be 2010, not 2015.

1.5.0.0

Removed parentheses from title, and added missing space.

1.4.0.0

Updated the implementation based on another series of performance trials. Removed trailing whitespace and switched from 2 spaces after each period to 1 in the interest of readability.

1.3.0.0

Made code available as a toolbox. No changes were made to the source code itself.

1.2.0.0

Replaced tabs with spaces so that the source code displays consistently in all text editors.

1.1.0.0

Optimized the computation of the golden ratio.

1.0.0.0