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)
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 LinuxCategories
- Mathematics and Optimization > Symbolic Math Toolbox > Mathematics > Formula Manipulation and Simplification >
Find more on Formula Manipulation and Simplification in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
