ThingSpeak

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

MATLAB Analysis and Visualization

Explore and transform data, visualize data in MATLAB® plots

Use the MATLAB Analysis app to analyze data, such as calculating average humidity, calculating dew point, and eliminating data outliers etc. from a ThingSpeak™ channel using MATLAB functions. After analysis, you can write data to a channel or create a visualization, as described in Overview of MATLAB Visualizations App.

Use the MATLAB Visualizations app to visualize data in a ThingSpeak channel. You can view and explore data using interactive visualizations such as area plot, line plot, or scatter plot in static visualizations using other MATLAB plots. You can also make visualizations public and use the URL to embed them on web sites.

You can also Add Functions to Scripts in MATLAB Analysis and Visualization apps to allow for modular coding.

    Note:   In addition to the built-in MATLAB functions, you can also use functions from the toolboxes mentioned in MATLAB Toolbox Access.

Functions

thingSpeakRead Read data stored in ThingSpeak channel
thingSpeakWrite Write data to ThingSpeak channel
urlFilter Scrape numbers from web page
thingSpeakArea Filled area 2-D plot
thingSpeakPlot Create 2-D line plot
thingSpeakScatter Create scatter plot
thingSpeakStem Create discrete sequence or stem plot
thingSpeakPlotYY 2-D line plot with Y axes on both sides

Topics

MATLAB Analysis and Visualizations App

Overview of MATLAB Analysis App

Analyze the data in a channel.

Overview of MATLAB Visualizations App

Visualize the data in a channel.

MATLAB Toolbox Access

MATLAB Toolbox Access

See the MATLAB toolboxes that you can use to analyze and visualize your data.

MATLAB Analysis Examples

Regularize Irregularly Sampled Data

Update timestamps of data in a ThingSpeak channel to remove irregularity.

Identify Irregularly Sampled Data

Identify irregular sampled data in a ThingSpeak channel.

Aggregate Data in ThingSpeak Channel

Aggregate data in a ThingSpeak channel to remove irregularity.

Statistics and Machine Learning Toolbox Examples

Visualize Distribution of Channel Data with boxplot

Create a box plot of channel data.

Find Mean Ignoring NaN Values

Find mean ignoring NaN values in data.

Fit a Linear Regression Model

Fit a linear regression model to data, and calculate regression coefficients.

Plot a Histogram with a Distribution Fit

Visualize the distribution of data using a histogram.

Curve Fitting Toolbox Examples

Visualize the Trend Between Ambient Temperature and Relative Humidity

Explore the relationship between ambient temperature and relative humidity.

Visualize Wind Speed as a Function of Ambient Temperature and Pressure

Plot fitted data to examine the variation of wind speed as a function of ambient air temperature and pressure.

Control System Toolbox Example

Compute Linear Response Characteristics

Compute linear response characteristics of the storing tank temperature of a solar water heater.

Signal Processing Toolbox Examples

Visualize and Remove Outliers in Your Data

Detect and remove outliers in data using Hampel filter.

Remove Outliers in Your Data

Detect and remove outliers in data using Hampel filter.

Visualize Peaks in Your Data

Visualize the peaks (local maxima) in data.

Peak Analysis of Data

Find the peaks (local maxima) in data.

Visualize Abrupt Changes in Signals

Determine changes or breakouts in signals using change-point detection.

Mapping Toolbox Examples

Visualize Path Traversed in Vector Maps

Visualize latitude and longitude data in a vector map.

Visualize Path Traversed in NASA Maps

Visualize path traversed in a NASA raster map.

Datafeed Toolbox Examples

Retrieve Current Financial Data from FRED

Connect to FRED to retrieve financial data.

Retrieve Current Financial Data from Yahoo!

Connect to Yahoo!® Finance to retrieve financial data.

Financial Toolbox Examples

Visualize Simple Moving Average of Your Data

Calculate the simple moving average of price over time and visualize results.

Plot the Highest High Stock Price

Construct financial time series object to plot the highest high stock price.

Plot the MACD Indicator

Construct financial time series object to plot the MACD indicator.

DSP System Toolbox Examples

Remove High-Frequency Noise in Measured Data

Design a low-pass filter to remove high frequency noise.

Generate Chirp Signal

Generate a linear chirp signal.

System Identification Toolbox Examples

Fit an Autoregression Model to the Tidal Depth Data

Fit an Autoregression Model and calculate the parameters and their uncertainties.

Visualize and Compare Measured and Predicted Tidal Depths

Compare and validate measured and predicted tidal wave depths.

Forecast Tidal Depths

Compare and validate measured and predicted tidal wave depths.

Neural Network Toolbox Examples

Create and Train a Feedforward Neural Network

Create and train a feedforward neural network to predict temperature from humidity.

Plot Error Histogram

Visualize errors between targeted and predicted values as a histogram.

Was this topic helpful?