How can we separate incoming real time data in MATLAB?

1 visualizzazione (ultimi 30 giorni)
Hi, I am getting serially real time data in MATLAB. Here is the data:
3597 2854 3598 2852 3568 2854 3597 2585.....
I need to plot data 3597 3598 3568 3597..... and plot data 2854 2852 2854 2585...... seperately.How can i do this? Thanks.

Risposte (1)

Dinesh Yadav
Dinesh Yadav il 26 Dic 2019
Hi Mohan,
I am not sure what exactly you are trying to do here, but if you just want to plot data belonging to two thousand and three thousand series differently, just put them in two different arrays. Filter by condition less than three thousand in one array and greater than three thousand in other array. Plot the two arrays separately.

Categorie

Scopri di più su Structures 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