Any way to subset data from a single Channel (Eg. using thingspeakread) in a MATLAB Visualisation?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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??
0 comentarios
Respuestas (1)
Cris LaPierre
el 29 de Dic. de 2020
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 comentarios
Cris LaPierre
el 29 de Dic. de 2020
thinkSpeakRead returns the data as an array, table or timetable. From there, you can use normal indexing to select what to plot.
Ver también
Categorías
Más información sobre Process Data en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!