Matlab receiving FFT data through LSL? [resolved]
prag
California
Hi! I tried to lsl stream FFT data using networking tool for my Matlab analysis. In Matlab, I could visualize just "one" single vector of 125 elements, which I understand from the manual to correspond to one frequency bin of one channel. Why am I not able to see other frequency bins and other channels? Am I missing something? And what are these 125 elements in each vector exactly? Could you please clarify or point to some helpful resource?
Thank you!
@retiutut @wjcroft
Comments
Sending FFT over LSL using Networking Widget is better for quick prototyping of projects.
For more accurate FFT information, I recommend using the BrainFlow Matlab binding and generate the FFT data using Matlab. Using this method, you have complete control over the RAW data and it comes straight from the backend process (BrainFlow).
https://brainflow.readthedocs.io/en/stable/BuildBrainFlow.html#matlab
https://brainflow.readthedocs.io/en/stable/Examples.html#matlab
Hope this helps!
RW