Any way to subset data from a single Channel (Eg. using thingspeakread) in a MATLAB Visualisation?

1 次查看(过去 30 天)
Any pointers would be appreciated - I've been looking for a way to do this for hours now.
I have a single channel receiving data from multiple IOT devices including the device name (this is working just fine).
I'd like to plot a value (eg Temperature) over time by device on a single chart.
The bit I can't seem to do is find a way to retrieve data "Where DeviceID = xyz"
Any ideas please??

回答(1 个)

Cris LaPierre
Cris LaPierre 2020-12-29
If you have all the data in a single matrix, then the plot function will treat each column as a separate series. Does this get you what you want?
  4 个评论
N S
N S 2020-12-29
Hi - I haven't started to create anything yet as I couldn't find a way to do the subset of data as I need to.
The data is pretty simple, just a numeric value by date/time. Approx 1 data point per device per minute, somewhere around 10 devices eventually. Does that help?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Process Data 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by