Use the MATLAB Analysis app to prepare, filter, and analyze data such as calculating average humidity, calculating dew point, and eliminating data outliers from a ThingSpeak™ channel. ThingSpeak allows you to use MATLAB to analyze and visualize your data. The analysis and visualization apps provide template code to assist you with basic operations on historic or live data. These tutorials take you step by step through each code template. Use code template tutorials to get started with ThingSpeak. Use the apps to convert from one unit to another, compare different or similar data on the same plot, or visualize the statistical distribution of your data.
You can Add Functions to Scripts (MATLAB) in the MATLAB Analysis and MATLAB Visualizations apps to allow for modular coding. In addition to the built-in MATLAB functions, you can also use functions from the toolboxes mentioned in Access MATLAB Add-On Toolboxes.
Analyze the data in a channel.
Update timestamps of data in a ThingSpeak™ channel to remove irregularity.
Identify irregularly sampled data in a ThingSpeak channel.
Collect and process data in a ThingSpeak channel
This example demonstrates how to read data from a channel, analyze the data, and display the result.
This example demonstrates how to read data, identify certain elements, and display the results.
This example shows how to read data from a public channel, modify the data, and display select elements.
This example shows how to read data from a public channel, analyze the data, and schedule the code to run at regular intervals.
This example demonstrates how to scrape the latest live data from a website and display it.
This example shows how to read data, perform a calculation using the data, and display the result.
Read data for regression and prediction