MATLAB Answers

How can we separate incoming real time data in MATLAB?

2 views (last 30 days)
mohan khedkar
mohan khedkar on 14 Nov 2019
Answered: Dinesh Yadav on 26 Dec 2019
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.

Answers (1)

Dinesh Yadav
Dinesh Yadav on 26 Dec 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.

Community Treasure Hunt

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

Start Hunting!