Finding intersecting points in the Lissajous scan pattern

1 visualizzazione (ultimi 30 giorni)
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 Commenti
Dyuman Joshi
Dyuman Joshi il 19 Feb 2024
Any updates, @창현 지? Did you try the FEX submisisons I linked?
창현 지
창현 지 il 21 Feb 2024
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.

Accedi per commentare.

Risposte (1)

Dyuman Joshi
Dyuman Joshi il 16 Feb 2024
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 Commenti
DGM
DGM il 16 Feb 2024
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 il 16 Feb 2024
(If I understood your point clearly, @DGM) The 2nd FEX submission can be used for finding self-intersections points as well.

Accedi per commentare.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by