Ellipse or Hyperbola Sample Points Generation Function

A function that generates sample points of ellipticalor hyperbolic patterns

You are now following this Submission

Explanation of parametrs in this function,
"mx" is the center of a pattern in x coordinate.
"my" is the center of a pattern in y coordinate
"a" & "b" are the axes.
"sita" is the rotation angle(radian)
"f" is the pattern-size constant.
The full equation is a((x-mx)*cos(sita)+(y-my)*sin(sita))^2 + b(-(x-mx)*sin(sita)+(y-my)*cos(sita))^2 = f.
The output paramter "SamplePoints" represents the sample points extracted according to the pattern. Each sample point corresponds to each column of "SamplePoints" respectively.

Cite As

I Chieh Chen (2026). Ellipse or Hyperbola Sample Points Generation Function (https://in.mathworks.com/matlabcentral/fileexchange/46297-ellipse-or-hyperbola-sample-points-generation-function), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Physics in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0