Regular Polygons

Plots the regular polygon {N/d} with vertices on a circle of radius 'rad'.

現在この提出コンテンツをフォロー中です。

Let d < N be a positive integer and define p = N/d. Let y_{1} be a point on the unit circle. Let R be clockwise rotation by the angle t = 2*pi/p. The generalized regular polygon {p} is given by the points y_{i+1} = R * y_{i}, and edges between points i and i+1.

Example:
polygon(9, 4, 1);

引用

Nima Moshtagh (2026). Regular Polygons (https://jp.mathworks.com/matlabcentral/fileexchange/16608-regular-polygons), MATLAB Central File Exchange. に取得済み.

カテゴリ

Help Center および MATLAB AnswersPolygonal Shapes についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0