How can we separate incoming real time data in MATLAB?

1 次查看(过去 30 天)
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.

回答(1 个)

Dinesh Yadav
Dinesh Yadav 2019-12-26
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.

类别

Help CenterFile Exchange 中查找有关 Numeric Types 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by