Unique, or irreducible, fractions

Version 1.0.0.0 (2.11 KB) by Aviv Ofir
All unique Numerator/Denominator pairs (="irreducible fractions"), where both N and D <=(integer n)
240 Downloads
Updated 14 Nov 2013

View License

Computes all numerators N and denominators D pairs creating unique rational numbers (="irreducible fractions"), where each of N and D are no larger than n.

Example: 4/6 is not a unique fraction since 2/3 is identical and simpler.

Cite As

Aviv Ofir (2026). Unique, or irreducible, fractions (https://www.mathworks.com/matlabcentral/fileexchange/44318-unique-or-irreducible-fractions), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Formula Manipulation and Simplification in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0