Finding intersecting points in the Lissajous scan pattern

1 回表示 (過去 30 日間)
창현 지
창현 지 2024 年 2 月 16 日
コメント済み: 창현 지 2024 年 2 月 21 日
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 件のコメント
Dyuman Joshi
Dyuman Joshi 2024 年 2 月 19 日
Any updates, @창현 지? Did you try the FEX submisisons I linked?
창현 지
창현 지 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.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by