O'Reilly logo

MATLAB Graphics and Data Visualization Cookbook by Swapnonil Banerjee, Nivedita Majumdar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time series analysis

A time series is a set of data points recorded over time, usually at uniform intervals. The important thing that distinguishes time series from other one-dimensional data is the property of natural temporal ordering present in the data. In this recipe, you will analyze human heart rate data and visualize your findings.

Getting ready

In this recipe, you will use two time series that contain evenly-spaced measurements of instantaneous heart rate (in units of beats per minute) at 0.5 second intervals from two subjects. The data was downloaded from an ECG website maintained at MIT (GoldBerger and Mordy).

Load the data as follows:

load timeseriesAnalysis;

How to do it...

Perform the following steps (Code is shown here for one series. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required