Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 7.35 KB

File metadata and controls

39 lines (30 loc) · 7.35 KB

Templates in MATLAB Online for ThingSpeak

You can use MATLAB® to analyze your IoT data in ThingSpeak™. Use MATLAB analysis apps to process data and MATLAB visualizations apps to create custom visualizations. These templates are available when you create a new app instance in ThingSpeak.

Use the links below to open the template code examples in MATLAB Online. Then you can test the code or make improvements and modifications in a full-fledged code editor. Preview of MATLAB online with a closeup of the toolstrip.

Copy and paste the code back into the ThingSpeak MATLAB editor when you are ready to operationalize your code.

ThingSpeak Code Templates

Open in MATLAB Online Get data from a private channel
Open in MATLAB Online Get data from a public channel

Open in MATLAB Online Calculate and Display Average Humidity
Open in MATLAB Online Calculate wind chill and update channel
Open in MATLAB Online Remove Outliers from wind speed data
Open in MATLAB Online Convert temperature units

Open in MATLAB Online Calculate high and low temperatures
Open in MATLAB Online Read channel to trigger email
Open in MATLAB Online Replace missing values in data
Open in MATLAB Online Analyze text for the most common color

ThingSpeak Visualization Templates

Open in MATLAB Online Create a filled area 2-D plot
Open in MATLAB Online Create a 2-D line plot
Open in MATLAB Online Create 2-D line plots with y-axes on both left and right side
Open in MATLAB Online Create a correlated data plot
Open in MATLAB Online Create a discrete sequence data plot

Open in MATLAB Online Use a histogram to understand variation in data
Open in MATLAB Online Visualize directional data with compass plot
Open in MATLAB Online Use area plot to compare traffic data sets
Open in MATLAB Online Compare temperature data from three different days
Open in MATLAB Online Plot temperature and wind speed on two different y-axes
Open in MATLAB Online Visualize correlation between temperature and humidity
Plot of thee seperate days of temperature data superimposed ont he same axis Plot of temperature and wind speed data for eight hours on June 3, 2019 on left and right axis, respectively.