cfrac.m

cfrax(x,n) returns the first n terms in the contined fraction expansion of x.

Download
Download

You are now following this Submission

Cite As

David Terr (2026). cfrac.m (https://in.mathworks.com/matlabcentral/fileexchange/4974-cfrac-m), 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.0.0

I added two columns to the result. The second and third columns consist of the numerators and denominators of the rational convergents respectively.

Download