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.

您现在正在关注此提交

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):

引用格式

Ismael Abdulrahman (2026). Primitive Pythagorean Triangles - Formulas and Visualization (https://ww2.mathworks.cn/matlabcentral/fileexchange/117950-primitive-pythagorean-triangles-formulas-and-visualization), MATLAB Central File Exchange. 检索时间: .

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 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