Golden Ratio

Computes the golden ratio.

Download
Download

You are now following this Submission

Cite As

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

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.8.0

Removed parentheses from title, and added missing space.

Download
1.7.0

Marked GoldenRatio.m user-executable.

Download
1.6.0

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

Download
1.5.0

Removed parentheses from title, and added missing space.

Download
1.4.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.

Download
1.3.0

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

Download
1.2.0

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

Download
1.1.0

Optimized the computation of the golden ratio.

Download
1.0.0

Download