Finding intersecting points in the Lissajous scan pattern

4 次查看(过去 30 天)
Hi.
I'm trying to find the intersecting points in the Lissajous scan pattern.
For
x = A * sin(2*pi*f1*t)
y = B * sin(2*pi*f2*t+pi/2)
drawing the Lissajous scan pattern itself was not that difficult,
but I had a lot of trouble finding out the intersecting points.
Does anyone have any experience with this problem?
  2 个评论
창현 지
창현 지 2024-2-21
Thank you for the comments and ideas.
We did get some good results using your last suggestion, but we are still in the process of resolving the following issues.
  1. Intersections are marked in unwanted regions for relatively low frequencies
  2. Code takes up too much time for frequencies in the kHz range
Thanks.

请先登录,再进行评论。

回答(1 个)

Dyuman Joshi
Dyuman Joshi 2024-2-16
There are several options available in FEX -
You could also go through this forum and find different approaches for finding intersections of 2 curves (mostly utilizing interp1), as this type of question has been asked many times.
  2 个评论
DGM
DGM 2024-2-16
In this question, we're trying to find the points where a single parametric curve intersects itself. That doesn't seem as simple as the typical request.
Dyuman Joshi
Dyuman Joshi 2024-2-16
(If I understood your point clearly, @DGM) The 2nd FEX submission can be used for finding self-intersections points as well.

请先登录,再进行评论。

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by