Fast sorting data to Lissajous Curve

1 visualizzazione (ultimi 30 giorni)
Shane
Shane il 25 Nov 2014
Hi community. I am trying to ascertain the quickest way to sort data to a Lissajous pattern, as I want to perform this in real time.
My data consists of an array of values, lets call this variable data, and it contains 10,000 values.
I want to specify two properties of a sinewave (two different sinewaves, each with different periods). Call one of them X, and one of them Y. I want the X sinewave to map the X position and the Y value to map the Y position of a 512x512 grid, for example.
But I want this to happen fast and elegantly, I am currently just brute forcing it, which is slow.
Any suggestions?

Risposte (0)

Categorie

Scopri di più su Shifting and Sorting Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by