Primitive Pythagorean Triangles - Formulas and Visualization

A set of programs to generate and visualize all primitive Pythagorean triples using Euclid's and six other derived formulas.

Ahora está siguiendo esta publicación

A set of programs using Euclid's and seven other derived formulas (P2 to P8) to generate and visualize all primitive Pythagorean triples. No for-loops or if-then statements are used in the programs to generate the triples except for visualization purposes. The formulas were created following visual observations of the way Euclid's Pyhtogrean triples are geometrically distributed and the relationships among them.
Example (image 10MB):
Example (image 18MB)
Example (pdf):

Citar como

Ismael Abdulrahman (2026). Primitive Pythagorean Triangles - Formulas and Visualization (https://la.mathworks.com/matlabcentral/fileexchange/117950-primitive-pythagorean-triangles-formulas-and-visualization), MATLAB Central File Exchange. Recuperado .

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.3.13

Adding a new program (P8) and changing names accordingly.

1.3.12

Adding downloading links.

1.3.11

Minor

1.3.10

Adding a new program (P8_All2_Program1a.m) to generate a large set of triples with high resolution (a 13MB image file is attached).

1.3.9

Fixing program names.

1.3.8

Minor

1.3.7

Minor update

1.3.6

Minor update

1.3.5

Minor changes

1.3.4

Adding a new program (8_ALL_Program1a.m) to dynamically plot all primitive triples and label their three sides.

1.3.3

Minor

1.3.2

Minor changes.

1.3.1

New plotting figures are added.

1.3.0

New formulas and programs are added.

1.2.2

Minor change

1.2.1

Minor change

1.2

A new program is added.

1.1

Euclid's formula is added.

1.0