Main Content

Prepare and Analyze Data

Filter, transform, and respond to data in MATLAB®

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.


expand all

thingSpeakReadRead data stored in ThingSpeak channel
thingSpeakWriteWrite data to ThingSpeak channel


Generate MATLAB Code

Prepare Data

Analyze Historical Data

Analyze Live Data